WO2012139462A1 - Method, device, and system that enable signaling tracking - Google Patents

Method, device, and system that enable signaling tracking Download PDF

Info

Publication number
WO2012139462A1
WO2012139462A1 PCT/CN2012/073106 CN2012073106W WO2012139462A1 WO 2012139462 A1 WO2012139462 A1 WO 2012139462A1 CN 2012073106 W CN2012073106 W CN 2012073106W WO 2012139462 A1 WO2012139462 A1 WO 2012139462A1
Authority
WO
WIPO (PCT)
Prior art keywords
signaling
tracking
message
signaling tracking
network element
Prior art date
Application number
PCT/CN2012/073106
Other languages
French (fr)
Chinese (zh)
Inventor
孟英
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012139462A1 publication Critical patent/WO2012139462A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/18Protocol analysers

Definitions

  • the present invention relates to the field of communications, and in particular, to a method, an apparatus, and a system for implementing signaling tracking. Background technique
  • the signaling tracking system tracks and displays the signaling related to each service in real time, and provides a function of interpreting and analyzing the corresponding signaling through the signaling tracking system, so that the operator can know the content of the signaling. , flow direction and logical flow of each business. Signaling tracking is especially important for the practical application of RFID (Radio Frequency Identification) readers. It is an important means to achieve data collection and problem location.
  • RFID Radio Frequency Identification
  • Defect 2 When displaying the signaling tracking result, it is displayed in plain text.
  • the user cannot quickly perform logical analysis, filtering, statistics and other logical operations based on the tracking result, which is not convenient for users to view and analyze, especially for RFID readers.
  • the amount of data contained in the RFID reader is relatively large. Therefore, data analysis, filtering, and statistics are performed according to the tracking result in text form, which is inefficient, has a large delay, and requires a large consumption.
  • Human and material resources
  • the present invention provides a method, a device, and a system for implementing signaling tracking, to provide a novel signaling tracking mode, a centralized signaling tracking operation, and an improved letter. Make tracking the versatility, ease of use and effectiveness.
  • a system for implementing signaling tracking comprising:
  • the signaling tracking client is configured to output a signaling tracking request, where the signaling tracking request carries a signaling tracking parameter
  • a signaling tracking server configured to receive a signaling tracking request output by the signaling tracking client, and output a signaling tracking instruction according to the signaling tracking request;
  • the network element device is configured to receive the signaling tracking instruction output by the signaling tracking server, and report the corresponding signaling message carrying the signaling tracking parameter to the signaling tracking server according to the signaling tracking instruction. .
  • the signaling tracking server is further configured to: after outputting the signaling tracking instruction, monitor whether the network element device reports a message;
  • the signaling tracking server When the signaling tracking server detects that the message reported by the network element device is a signaling message, it generates a unique corresponding signaling sequence number for the intercepted signaling message, and according to the signaling message and its signaling The sequence number generates a signaling message with a signaling structure and stores the signaling message in a data buffer.
  • the signaling tracking server is further configured to: when determining that the amount of signaling data in the data buffer exceeds a buffer capacity, extract at least one signaling message from the data buffer, and extract the extracted information Decoding at least one signaling message to the database;
  • the signaling tracking server is further configured to, when determining, according to the signaling tracking parameter of the at least one signaling message, the signaling tracking parameter of the signaling message needs to be saved as a signaling file, The strip signaling message is written as a signaling file and saved to disk.
  • the signaling tracking server is further configured to: after storing the extracted at least one signaling message to a database, when determining that the data volume of the data cache exceeds a set capacity threshold, the data is At least one signaling message with an earlier storage time in the cache is deleted.
  • the signaling tracking server is further configured to end the signaling tracking process when the network element device reports the message without being monitored within the set duration threshold.
  • the signaling tracking server is further configured to: determine whether the signaling tracking parameter in the signaling tracking request is legal, and send a signaling tracking failure notification message to the signaling tracking client when it is not legal. Establishing a signaling tracking link that performs signaling tracking with the network element device after being legal and after outputting the signaling tracking instruction;
  • the network element device reports the corresponding signaling message, and is configured to report the corresponding signaling message by using the signaling tracking link.
  • the signaling tracking client is further configured to send a signaling tracking stop request to the signaling tracking server; the signaling tracking server is further configured to: after receiving the signaling tracking client, send Disconnecting the signaling tracking link when the signaling tracking stop request is performed;
  • the signaling tracking server determines, according to the signaling tracking parameter in the signaling request, that the signaling message reported by the network element device is to be saved as a signaling file, and the signaling message reported by the network element device is written as The signaling file is saved to the disk; and/or the signaling message reported by the network element device is stored in the database.
  • the signaling tracking server is further configured to: when receiving the signaling message reported by the network element device, parse the signaling message, and generate a table form or a tree form according to the parsing result. Transmitting a message to the signaling tracking client;
  • the signaling tracking client is further configured to display the received signaling message in the form of a table or a tree.
  • a method for implementing signaling tracking includes:
  • the signaling tracking server receives the signaling tracking request output by the signaling tracking client, and outputs a signaling tracking instruction to the network element device, where the signaling tracking request carries a signaling tracking parameter;
  • the signaling tracking server receives a corresponding signaling message that is carried by the network element device and carries the signaling tracking parameter.
  • the method further includes: after the signaling tracking server outputs the signaling tracking instruction to the network element device, the device is configured to monitor whether the network element device reports a message, and when the network element device is reported to report the message, Generating a unique corresponding message serial number for each message reported;
  • the signaling tracking server When the signaling tracking server detects that the message reported by the network element device is a signaling message, it generates a unique corresponding signaling sequence number for the intercepted signaling message, and according to the signaling message and its signaling The sequence number generates a signaling message with a signaling structure and stores the signaling message in a data buffer.
  • the method further includes: the signaling tracking server extracting at least one signaling message from the data buffer when determining that the amount of signaling data in the data buffer exceeds a buffering capacity, and extracting the extracted At least one signaling message is stored in the database;
  • the signaling tracking server is configured for each of the extracted at least one signaling message, according to the When the signaling tracking parameter of the signaling message needs to be saved as a signaling file, the signaling message is written into the signaling file and saved to the disk.
  • the method further includes: after the signaling tracking server outputs the signaling tracking instruction to the network element device, establishing a signaling tracking link that performs signaling tracking with the network element device;
  • the signaling tracking server receives the corresponding signaling message reported by the network element device by using the signaling tracking link.
  • the method further includes: the signaling tracking client sending a signaling tracking stop request to the signaling tracking server;
  • the signaling tracking server disconnects the signaling tracking link when receiving the signaling tracking stop request sent by the signaling tracking client;
  • the signaling tracking server determines, according to the signaling tracking parameter in the signaling request, that the signaling message reported by the network element device is to be saved as a signaling file, and the signaling message reported by the network element device is written as The signaling file is saved to the disk; and/or the signaling message reported by the network element device is stored in the database.
  • a signaling tracking server comprising:
  • a flow processing unit configured to receive a signaling tracking request carrying a signaling tracking parameter, and output a signaling tracking instruction according to the signaling tracking request; and configured to receive, by the receiving network element device, the signaling tracking instruction A signaling message carrying the signaling tracking parameter.
  • the signaling tracking server further includes: a signaling monitoring unit, configured to: after the flow processing unit outputs a signaling tracking instruction, monitor whether the network element device reports a message, and listen to the network When the meta-device reports the message, the pipeline number generating unit is started;
  • a signaling monitoring unit configured to: after the flow processing unit outputs a signaling tracking instruction, monitor whether the network element device reports a message, and listen to the network When the meta-device reports the message, the pipeline number generating unit is started;
  • the serial number generating unit is configured to generate a unique corresponding message serial number for each message reported by the network element device.
  • the signaling tracking server further includes a data buffer unit
  • the signaling intercepting unit is further configured to: when the message reported by the network element device is monitored as a signaling message, start the serial number generating unit; and, according to the signaling message and the serial number unit, The signaling sequence number generated by the signaling message generates a signaling message according to a signaling structure, and stores the signaling message in a data buffer unit;
  • the serial number generating unit is further configured to generate a unique corresponding signaling sequence number for the monitored signaling message.
  • the signaling tracking server further includes a signaling data scheduling unit and a database access unit; the data buffering unit is further configured to: determine that the amount of signaling data in the data buffer exceeds a buffer capacity And starting the signaling data scheduling unit;
  • the signaling data scheduling unit is configured to extract at least one signaling message from the data buffer unit, and start the database access unit;
  • the database access unit is configured to store the at least one signaling message extracted by the signaling data scheduling unit into a database.
  • the signaling tracking server further includes a signaling file read/write unit;
  • the process processing unit is further configured to: when determining, according to the signaling tracking parameter in the signaling request, that the signaling message reported by the network element device needs to be saved as a signaling file, start the signaling file reading and writing unit ;
  • the signaling file reading and writing unit is configured to write the signaling message reported by the network element device into a signaling file and save it to the disk; and/or, store the signaling message reported by the domain device into the database.
  • the signaling tracking server further includes a signaling data parsing unit;
  • the process processing unit is further configured to: when receiving the signaling message reported by the network element device, start the signaling data parsing unit;
  • the signaling data parsing unit is configured to parse the signaling message, and generate a signaling message in the form of a table or a tree according to the parsing result, and send the signaling message to the signaling tracking client.
  • the signaling tracking server heartbeat detecting unit Preferably, the signaling tracking server heartbeat detecting unit
  • the flow processing unit is further configured to: after outputting the signaling tracking instruction, establish a signaling tracking link that performs signaling tracking with the network element device; and receive the network element device by using the signaling tracking link Signaling message reported;
  • a heartbeat detecting unit configured to detect a state of the signaling tracking link, and to detect, when the network element device does not detect the signaling message through the signaling tracking link, within a set duration threshold, Signaling tracks the business logic of the link.
  • the user may send a signaling tracking request by using the signaling tracking client, and send a signaling tracking instruction to the network element device by using the signaling tracking server to instruct the network element device to report the corresponding signaling message, thereby implementing Signaling tracking; Since the signaling tracking request is sent by the client through the signaling, there is no need to input a series of commands for signaling tracking. Therefore, the technical solution of the embodiment of the present invention does not require the operator to be proficient in man-machine.
  • FIG. 1 is a schematic structural diagram of a system for implementing signaling tracking according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a signaling tracking server according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a relationship between a network management system and a network element device according to an embodiment of the present invention
  • FIG. 4 is a schematic flowchart of a method for implementing signaling tracking according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of a service logic flow when a signaling tracking server initiates signaling tracking according to an embodiment of the present invention
  • FIG. 6 is a signaling tracking stop command sent by a signaling tracking server after receiving a signaling tracking client according to an embodiment of the present invention
  • FIG. 7 is a schematic diagram of a service logic flow when a signaling tracking server receives a signaling message returned by a network element device according to an embodiment of the present invention
  • FIG. 8 is a schematic diagram of a service logic process for a signaling tracking server to perform scheduling processing on a message in a data cache according to an embodiment of the present invention.
  • the embodiments of the present invention provide a method, a device, and a system for implementing signaling tracking, to provide a novel signaling tracking mode, and a centralized signaling tracking operation, which is improved.
  • the system for implementing signaling tracking includes: a signaling tracking client, configured to output a signaling tracking request, where the signaling tracking request carries a signaling tracking parameter; and a signaling tracking server, configured to receive the signaling tracking a signaling tracking request output by the client, and outputting a signaling tracking instruction according to the signaling tracking request; the network element device is configured to receive a signaling tracking instruction output by the signaling tracking server, and according to the signaling tracking The instruction reports the corresponding signaling message carrying the signaling tracking parameter to the signaling tracking server.
  • the technical solution of the embodiment of the present invention does not require an operator.
  • Proficiency in man-machine operation commands thereby simplifying the signaling tracking operation, improving the versatility and convenience of signaling tracking;
  • the signaling tracking request carries signaling tracking parameters, and the signaling tracking parameters may include Configuration parameters such as signaling direction, signaling name, tracking range, and signaling detail level provide convenience for the operator to perform targeted signaling tracking and improve the effectiveness of signaling tracking.
  • FIG. 1 is a schematic structural diagram of a system for implementing signaling tracking according to an embodiment of the present disclosure, where the system may include:
  • the signaling tracking client 1 is configured to output a signaling tracking request, where the signaling tracking request carries a signaling tracking parameter;
  • the signaling tracking server 2 is configured to receive a signaling tracking request outputted by the client 1 and output a signaling tracking instruction according to the signaling tracking request;
  • the network element device 3 is configured to receive the signaling tracking instruction output by the signaling tracking server 2, and report the corresponding signaling message carrying the signaling tracking parameter to the signaling tracking server according to the signaling tracking instruction. .
  • the signaling tracking server 2 may be configured to monitor whether the network element device reports a message after outputting the signaling tracking instruction, in order to facilitate subsequent operations such as positioning, querying, and analyzing the signaling message.
  • the network element device reports the message, it generates a unique corresponding message serial number for each message reported.
  • the signaling tracking server 2 monitors that the message reported by the network element device 3 is a signaling message, it generates a unique corresponding signaling sequence number for the intercepted signaling message, and according to the signaling message and The signaling sequence number generates a signaling message having a signaling structure and stores the signaling message in a data buffer.
  • the signaling tracking server 2 is further configured to: extract the data cache from the data cache when determining that the amount of signaling data in the data buffer exceeds the buffer capacity. At least one signaling message, and storing the extracted at least one signaling message in a database. Further, the signaling tracking server 2 determines, for each signaling message in the extracted at least one signaling message, according to the signaling tracking parameter of the signaling message, when the information needs to be saved as a signaling file, The signaling message is written as a signaling file and saved to disk.
  • the signaling tracking server 2 is further configured to: after the extracted at least one signaling message is stored in the database, When the data volume of the data cache exceeds the set capacity threshold, at least one signaling message with an earlier storage time in the data cache is deleted, and the capacity threshold is smaller than the storage capacity.
  • the signaling tracking server 2 is further configured to end the signaling tracking process when the signaling message reported by the network element device 3 is not monitored within the set duration threshold.
  • the signaling tracking server 2 and the network element device 3 are dedicated to signaling tracking, in order to avoid the problem that the signaling tracking is occupied by a large amount of link bandwidth.
  • the signaling tracking server 2 is further configured to: after outputting the signaling tracking instruction, establish a signaling tracking link that performs signaling tracking with the network element device 3; the network element device 3 The corresponding signaling message is reported, and is set to: report the corresponding signaling message by using the signaling tracking link.
  • the signaling tracking server 2 is further configured to be established. Before the signaling tracking link, it is determined whether the signaling tracking parameter in the signaling tracking request is legal, and sends a signaling tracking failure notification message to the signaling tracking client 1 when it is not legal.
  • the signaling tracking client 11 is further configured to send a signaling tracking stop request to the signaling tracking server 2;
  • the signaling tracking server 2 is further configured to: when receiving the signaling tracking stop request sent by the signaling tracking client 1, disconnect the signaling tracking link; and stop receiving the signaling message reported by the network element device 3 .
  • the signaling tracking server 2 detects the status of the signaling tracking link, and does not detect that the network element device reports the signaling message through the signaling tracking link within the set duration threshold, and closes the The signaling traces the link and ends the signaling tracking process.
  • the signaling message reported by the network element device 3 is saved in the embodiment of the present invention.
  • the signaling tracking server 2 is further configured to: Determining, according to the signaling tracking parameter in the signaling request, that the signaling message reported by the network element device is saved as a signaling file, writing the signaling message reported by the network element device 3 into a signaling file and saving the file to the disk And/or, saving the signaling message reported by the network element device 3 to the database.
  • the signaling tracking server 2 is further configured to receive the network element device 3, in order to facilitate the second filtering of the signaling message, the analysis of the statistics, and the like, and the security of the signaling message viewing.
  • the signaling message is reported, the signaling message is parsed, and a signaling message in the form of a table or a tree is generated according to the parsing result, and sent to the signaling tracking client 1; the signaling tracking client 1 is also set.
  • the signaling tracking server 2 transmits the signaling message in the form of a table or a tree to the signaling tracking client 1 in real time using TCP/IP.
  • the network element device in the embodiment of the present invention may be an RFID reader.
  • the signaling tracking client 11 can provide an interface, so that the operator can configure tracking parameters, start/stop signaling tracking, analyzing signaling messages, and the like on the interface, and can also be displayed on the interface. Signaling tracking parameters.
  • FIG. 2 it is a schematic structural diagram of a signaling tracking server according to an embodiment of the present invention, where the signaling tracking server may include:
  • the process processing unit 21 is configured to receive a signaling tracking request that carries the signaling tracking parameter, and output a signaling tracking instruction according to the signaling tracking request, and set the receiving network element device to report according to the signaling tracking instruction.
  • the signaling monitoring unit 22 is configured to: after the flow processing unit 21 outputs the signaling tracking instruction, the monitoring network element is set. Whether to report the message, and when the network element device is reported to report the message, the serial number generating unit 23 is started;
  • the serial number generating unit 23 is configured to generate a unique corresponding message serial number for each message reported by the network element device.
  • the signaling tracking server further includes a data buffer unit 25;
  • the signaling monitoring unit 22 is further configured to: when the message reported by the network element device is monitored as a signaling message, start the serial number generating unit 23; and, according to the signaling message and the serial number unit 23
  • the signaling sequence number generated by the signaling message generates a signaling structure, and the signaling structure is inserted into the data buffer unit 25; the serial number generating unit 23 is further configured to generate a unique correspondence for the intercepted signaling message. Signaling sequence number.
  • the signaling tracking server may further include a signaling data scheduling unit 26 and a database access unit 27; the data buffering unit 25 is further configured to: when determining that the amount of signaling data in the data buffer exceeds a buffer capacity, Initiating signaling data scheduling unit 26;
  • the signaling data scheduling unit 26 is configured to extract at least one signaling message from the data buffer unit 25 and activate the database access unit 27; the database access unit 27 is configured to set the at least the signal data scheduling unit 26 to extract A signaling message is stored in the database.
  • the signaling tracking server may further include a signaling file read/write unit 28;
  • the flow processing unit 21 is further configured to: when determining, according to the signaling tracking parameter in the signaling request, that the signaling message reported by the network element device needs to be saved as a signaling file, start the signaling file read/write unit 28 ;
  • the signaling file reading and writing unit 28 is configured to write the signaling message reported by the network element device into a signaling file and save it to the disk; and/or save the signaling message reported by the network element device 3 to the database. in.
  • the signaling tracking server may further include a signaling data parsing unit 29;
  • the processing unit 21 is further configured to: when receiving the signaling message reported by the network element device, start the signaling data parsing unit 29;
  • the signaling data parsing unit 29 is configured to parse the signaling message, and generate a signaling message in the form of a table or a tree according to the parsing result, and send the signaling message to the signaling tracking client.
  • the process processing unit 21 is further configured to: after outputting the signaling tracking instruction, establish a signaling tracking link that performs signaling tracking with the network element device; and receive, by using the signaling tracking link, the Signaling message reported by the NE device.
  • the signaling tracking server may further include:
  • the heartbeat detecting unit 30 is configured to detect a state of the signaling tracking link, and when the network element device does not detect the signaling message through the signaling tracking link, the network device is closed. Signaling trace link Business logic.
  • the signaling data scheduling unit 26 can schedule when large data volume signaling is sent to the signaling tracking client and when access to the signaling message is made.
  • the signaling tracking client 1 and the signaling tracking server 2 may be independent hardware devices or integrated on the same hardware device.
  • the signaling tracking client 1 and the signaling tracking server 2 form a network management system.
  • the network management system and the network element device 3 are provided with a general service link and a signaling tracking link, where: a general service link
  • the two-way link is used for transmitting the normal service between the network element device 3 and the network management system, such as the start/stop of the signaling tracking function, the request and response result of the signaling tracking command, and the signaling tracking link.
  • the network element device 3 sends a signaling message to the network management system through the signaling tracking link.
  • the signaling tracking link is used to transmit the signaling message, thereby preventing the general service message from being blocked by the signaling message, and avoiding the problem that the signaling message cannot be normally sent due to the large amount of data of the general service message, thereby improving The validity and success rate of general service information and signaling message transmission.
  • the embodiment of the invention further provides a method for implementing signaling tracking, and the process of the method is shown in FIG. 4 .
  • FIG. 4 is a schematic flowchart of a method for implementing signaling tracking according to an embodiment of the present invention.
  • the method includes the following steps: Step 401: A signaling tracking client outputs a signaling tracking request that carries signaling tracking parameters.
  • the signaling tracking parameters may include signaling directions, signaling names, tracking ranges, signaling level of detail, and configuration parameters such as automatic saving into signaling file switches.
  • Step 402 The signaling tracking server outputs the signaling tracking instruction according to the signaling tracking request output by the client according to the signaling.
  • Step 403 The network element device reports, according to the signaling tracking instruction output by the signaling tracking server, a signaling message carrying the signaling tracking parameter to the signaling tracking server.
  • the method further includes the following steps: after the signaling tracking command is output, the signaling tracking server monitors whether the network element device reports a message, and when the network element device reports the message , generating a unique corresponding message serial number for each message reported.
  • the foregoing process may further include the following steps: when the signaling tracking server detects that the message reported by the network element device is a signaling message, generating a unique corresponding signaling sequence number for the intercepted signaling message, and according to The signaling message and its signaling sequence number generate a signaling message having a signaling structure, and store the signaling message in a data buffer.
  • the foregoing process may further include: the signaling tracking server extracting at least one signaling message from the data cache when determining that the amount of signaling data in the data buffer exceeds a buffer capacity, and extracting the extracted The at least one signaling message is stored in a database.
  • the above process may further include the steps of:
  • the signaling tracking server writes the signaling message to the signaling message according to the signaling tracking parameter of the signaling message and determines the signaling message to be saved as a signaling file. Let the file be saved to disk.
  • the above process may further include the steps of:
  • the signaling tracking server ends the signaling tracking process when the signaling message reported by the network element device is not monitored within the set duration threshold.
  • the method further includes: the signaling tracking server establishes a signaling tracking link that performs signaling tracking with the network element device; in the foregoing step 403, the network element device reports a corresponding signaling message, and is configured to The corresponding signaling message is reported by the signaling tracking link.
  • the foregoing process may further include the following steps: the signaling tracking client sends a signaling tracking stop request to the signaling tracking server; and the signaling tracking server receives the signaling sent by the signaling tracking client.
  • the signaling tracking client sends a signaling tracking stop request to the signaling tracking server; and the signaling tracking server receives the signaling sent by the signaling tracking client.
  • the signaling trace link is disconnected.
  • the foregoing process may further include the following steps: when the signaling tracking server determines, according to the signaling tracking parameter in the signaling request, that the signaling message reported by the network element device needs to be saved as a signaling file, The signaling message reported by the network element device is written into the signaling file and saved to the disk; and/or the signaling message reported by the network element device is saved in the database.
  • the embodiment of the present invention takes the signaling tracking server of FIG. 2 as an example, and implements signaling tracking according to the technical solution of the present invention.
  • FIG. 5 is a schematic diagram of a service logic flow when a signaling tracking server initiates signaling tracking according to an embodiment of the present invention, where the method includes:
  • Step 501 The process processing unit 21 receives a signaling tracking request sent by the signaling tracking client, where the signaling tracking request carries a signaling tracking parameter.
  • Step 502 The process processing unit 21 parses the signaling tracking parameters carried in the signaling tracking request, and obtains configuration parameters such as signaling tracking and filtering parameters, and whether the signaling file is automatically saved.
  • Step 503 The process processing unit 21 checks whether the parameters obtained by the parsing are legal. If the step 504 is not performed, the step 505 is performed.
  • Step 504 The process processing unit 21 sends a signaling tracking failure notification message to the signaling tracking client, to prompt the operator to start the signaling tracking failure and the specific failure reason, and end the process.
  • Step 505 the flow processing unit 21 calls the database access unit 27 to clean up the last traced legacy data. To avoid data tracking with this signaling.
  • Step 506 The process processing unit 21 establishes a signaling tracking link for performing signaling tracking with the network element device.
  • Step 507 The process processing unit 21 determines whether the signaling tracking link has been successfully established. If yes, step 508 is performed; otherwise, step 504 is performed.
  • Step 508 The process processing unit 21 sends a signaling tracking instruction to the network element device by using a general service link, and receives a response message that the signaling returned by the network element device establishes a success or failure of the link establishment.
  • Step 509 The process processing unit 21 determines whether the response message returned by the network element device indicates that the signaling tracking link is successfully established. If yes, step 511 is performed; otherwise, step 510 is performed.
  • Step 510 The process processing unit 21 disconnects the signaling tracking link once.
  • Step 511 The process processing unit 21 starts the signaling intercepting unit 22; the signaling monitoring unit 22 listens to the message reported by the network element device (the message may include a heartbeat message, a signaling message, etc.).
  • Step 512 The signaling interception unit 22 starts the serial number generating unit 23 when the network element device reports the message, and the serial number generating unit 23 generates a unique corresponding message serial number for the monitored message.
  • Step 513 The flow processing unit 21 starts the heartbeat detecting unit 30.
  • the heartbeat detecting unit 30 periodically detects the message and determines the current state of the signaling tracking link.
  • Step 514 The process processing unit 21 determines, according to the signaling tracking parameter, whether the signaling message reported by the network element device needs to be automatically saved into a file. If yes, go to step 515; otherwise, go to step 516.
  • Step 515 The flow processing unit 21 generates a file by using the signaling file read/write unit 28 to report the signaling message reported by the network element device, and saves the generated file.
  • Step 516 The process processing unit 21 sends a signaling tracking success notification message to the signaling tracking client, and ends the process.
  • FIG. 6 is a schematic diagram of a service logic flow when a signaling tracking server receives a signaling tracking stop command sent by a signaling tracking client according to an embodiment of the present disclosure, where the process includes:
  • Step 601 The process processing unit 21 receives the signaling tracking stop request sent by the signaling tracking client.
  • Step 602 The process processing unit 21 disconnects the signaling tracking link, and stops receiving the signaling message reported by the network element device.
  • Step 603 The flow processing unit 21 controls the signaling interception unit 22 to stop monitoring the reported message.
  • Step 604 The flow processing unit 21 controls the heartbeat detecting unit 30 to stop detecting the signaling tracking link state.
  • Step 606 the flow processing unit 21 calls the database access unit 27, and saves the data in the data cache that has not been stored in the database into the database.
  • Step 607 The process processing unit 21 is configured for a configuration parameter corresponding to each data in the data cache that is not stored in the database.
  • Step 608 The process processing unit 21 determines, according to the configuration parameter of the piece of data, whether the piece of data needs to be automatically saved into a file according to the configuration parameter of the piece of data. If yes, step 609 is performed; otherwise, step 610 is performed.
  • Step 609 the flow processing unit 21 calls the signaling file read/write unit 28, and writes the data in the cache that has not been saved in the signaling file into the signaling file.
  • Step 610 The process processing unit 21 sends a signaling tracking stop request to the network element device by using a general service link, and receives an operation result returned by the network element device to indicate that the signaling tracking stops.
  • Step 611 The process processing unit 21 sends the operation result returned by the network element device to indicate that the signaling tracking is stopped, to the signaling tracking client, to prompt the signaling tracking client to end the process.
  • FIG. 7 is a schematic diagram of a service logic flow when a signaling tracking server receives a signaling message returned by a network element device according to an embodiment of the present disclosure, where the process includes:
  • Step 701 The signaling interception unit 22 listens to the message reported by the network element device.
  • Step 702 The signaling interception unit 22 calls the serial number generating unit 23 to generate a unique corresponding message serial number for each message reported by the network element device.
  • Step 703 The signaling intercepting unit 22 determines whether the message reported by the network element device is a signaling message, and if yes, performs step 704, otherwise determines that the reported message is a heartbeat message and ends the process.
  • Step 704 The signaling interception unit 22 invokes the serial number generating unit 23 to generate a unique corresponding signaling sequence number for the signaling message.
  • Step 705 The signaling intercepting unit 22 organizes the signaling message and its signaling sequence number into a signaling structure, inserts into the data buffer, and ends the process.
  • FIG. 8 is a schematic diagram of a service logic flow of a signaling tracking server scheduling a message in a data cache according to an embodiment of the present invention, where the process includes:
  • Step 801 The signaling intercepting unit 22 inserts a signaling message into the data buffer.
  • Step 802 the cache counter in the data cache is incremented by one.
  • Step 803 The total signaling data capacity counter in the data buffer is incremented by one.
  • Step 804 The data buffering unit 25 determines, according to the count value of the buffer counter, whether the amount of signaling data in the data buffer exceeds the buffer capacity. If yes, step 805 is performed; otherwise, the process ends. Step 805, the data buffering unit 25 starts the signaling data scheduling unit 26, and extracts at least one signaling message from the data buffer.
  • Step 806 Update the count value of the cache counter according to the number of signaling messages extracted by the signaling data scheduling unit 26.
  • the count value of the buffer counter is updated, and the count value of the buffer counter before the extraction of the signaling message is subtracted from the number of the extracted signaling messages, and the obtained difference value is determined as the count value after the cache counter is updated.
  • Step 807 the signaling data scheduling unit 26 calls the database access unit 27, and saves the signaling message extracted in step 805 to the database through the database access unit 27.
  • Step 808 The data buffering unit 25 determines, according to the total signaling data capacity counter, whether the amount of signaling data in the system exceeds the set capacity threshold. If yes, step 809 is performed; otherwise, step 811 is performed.
  • Step 809 The data cache unit 25 invokes the database access unit 27 to delete a batch of signaling messages stored in the database earlier.
  • Step 810 Update the count value of the total signaling data capacity counter according to the number of signaling messages deleted by the database access unit 27.
  • the database access unit 27 deletes the total signaling data capacity counter count value before the signaling message minus the number of deleted signaling messages, and the obtained difference is determined as the updated total signaling data capacity counter. Count value.
  • Step 811 The process processing unit 21 obtains the signaling tracking parameter from the memory, and determines whether the function of automatically saving into the signaling file is set according to the signaling tracking parameter. If yes, step 812 is performed, otherwise the process ends.
  • Step 812 The file reading and writing unit 28 writes the signaling message extracted in step 805 into a signaling file and saves it to the disk.
  • Step 813 Determine whether the number of signaling files saved in the system exceeds the set file number threshold. If yes, execute step 814; otherwise, end the process.
  • Step 814 the file reading and writing unit 28 deletes part of the signaling file whose storage time is earlier, and ends the process.
  • the signaling tracking request is initiated by the signaling tracking client, and a series of commands are not required to perform signaling tracking. Therefore, the technical solution of the embodiment of the present invention does not require the operator to be skilled. Mastering man-machine operation commands, thereby simplifying the signaling tracking operation, improving the versatility and convenience of signaling tracking; on the other hand, the signaling tracking request carries signaling tracking parameters, and the signaling tracking parameters can It includes configuration parameters such as signaling direction, signaling name, tracking range, and signaling detail level.
  • the database and the signaling file are used for two data storage methods, and the structured features of the database are utilized to facilitate complex operations such as secondary filtering, analysis and statistics on the signaling data, and to facilitate the transmission of the signaling file.
  • the FTP function provided by the tracking server can conveniently download and transmit the traced signaling files.
  • a user may send a signaling tracking request by using a signaling tracking client, and send a signaling tracking instruction to the network element device through the signaling tracking server, to instruct the network element device to report the corresponding signaling message. Therefore, the signaling tracking is implemented. Since the signaling tracking request is sent by the client through the signaling, there is no need to input a series of commands to perform signaling tracking. Therefore, the technical solution of the embodiment of the present invention does not require the operator to be skilled.
  • the signaling tracking request carries the signaling tracking parameter
  • the signaling tracking parameter may include Configuration parameters such as signaling direction, signaling name, tracking range, and signaling detail level provide convenience for the operator to perform targeted signaling tracking and improve the effectiveness of signaling tracking.

Abstract

Embodiments of the present invention disclose a method, device, and system that enable signaling tracking, providing a new type of signaling-tracking method, simplifying signaling-tracking operation, and enhancing the uniformity, simplicity, and effectiveness of signaling tracking. The signaling-tracking method comprises: a signaling-tracking client sends a signaling-tracking request carrying signaling-tracking parameters; a signaling-tracking server sends a signaling-tracking instruction according to the signaling-tracking request sent by the signaling-tracking client; a network element device reports to the signaling-tracking server a corresponding signaling message carrying the signaling-tracking parameters according to the signaling-tracking instruction sent by the signaling-tracking server. The technical solution as presented by the embodiments of the present invention simplifies signaling-tracking operation and enhances the uniformity, simplicity, and effectiveness of signaling tracking.

Description

一种实现信令跟踪的方法、 装置及系统  Method, device and system for implementing signaling tracking
技术领域 本发明涉及通信领域, 尤其涉及一种实现信令跟踪的方法、 装置及系统。 背景技术 The present invention relates to the field of communications, and in particular, to a method, an apparatus, and a system for implementing signaling tracking. Background technique
在网络通信技术中, 通过信令跟踪系统实时跟踪并显示与各业务相关的信令, 并通 过信令跟踪系统提供对相应信令进行解释和分析的功能, 以便操作人员能够获知信令的 内容、 流向和各业务的逻辑流程。 信令跟踪对于 RFID ( Radio Frequency Identification, 无线射频识别)阅读器的实际应用中显得尤为重要, 是实现业务釆集数据和问题定位的 重要手段。  In the network communication technology, the signaling tracking system tracks and displays the signaling related to each service in real time, and provides a function of interpreting and analyzing the corresponding signaling through the signaling tracking system, so that the operator can know the content of the signaling. , flow direction and logical flow of each business. Signaling tracking is especially important for the practical application of RFID (Radio Frequency Identification) readers. It is an important means to achieve data collection and problem location.
目前, 在实际应用中, 在对 RFID阅读器进行信令跟踪业务时, 需要通过输入命令 行的方式, 即通过输入一系列命令来对 RFID阅读器进行信令跟踪; 并釆用文本形式显 示信令跟踪结果; 当需要保存跟踪记录时, 主要以 txt文件保存跟踪记录。  At present, in practical applications, when performing signaling tracking service on an RFID reader, it is necessary to input a command line, that is, to input a series of commands to perform signaling tracking on the RFID reader; and display the letter in text form. Let the tracking result; When you need to save the tracking record, the tracking record is mainly saved in txt file.
釆用现有的跟踪信令的方式, 存在以下技术缺陷:  In the existing tracking signaling method, the following technical defects exist:
缺陷 1、 通过输入一系列的命令来进行信令跟踪, 需要操作人员熟练掌握人机操作 命令, 对操作人员的技术水平要求较高, 因此信令跟踪操作不方便;  Defects 1. Signaling tracking by inputting a series of commands requires the operator to master the man-machine operation command, which requires high technical level of the operator, so the signaling tracking operation is inconvenient;
缺陷 2、 在显示信令跟踪结果时, 以纯文本的形式进行堆叠显示, 用户无法快速的 根据跟踪结果进行结构化的分析、 过滤、 统计等逻辑操作, 不便于用户查看分析, 尤其 对于 RFID 阅读器的应用场景中, RFID 阅读器所包含的信令的数据量较为庞大, 因此 根据文本形式的跟踪结果进行数据分析、 过滤、 统计等操作, 效率较低, 时延较大, 需 要消耗较大的人力、 物力资源;  Defect 2: When displaying the signaling tracking result, it is displayed in plain text. The user cannot quickly perform logical analysis, filtering, statistics and other logical operations based on the tracking result, which is not convenient for users to view and analyze, especially for RFID readers. In the application scenario, the amount of data contained in the RFID reader is relatively large. Therefore, data analysis, filtering, and statistics are performed according to the tracking result in text form, which is inefficient, has a large delay, and requires a large consumption. Human and material resources;
缺陷 3、 在需要保存跟踪记录时, 将才艮据记录保存为 txt文件, 因此, 若在发生问 题需要开启信令跟踪时, 不能对大量的数据进行即时分析, 需要从 txt文件中获取大量 数据, 而在打开 txt文件时, 可能会使其他人员轻易的看到能够体现业务内部逻辑的信 令内容, 因此信令跟踪记录的保存存在较大的安全隐患, 保密性较差。 发明内容 针对现有技术存在的上述技术问题, 本发明实施例提供一种实现信令跟踪的方法、 装置及系统, 以提供一种新型的信令跟踪方式, 筒化信令跟踪操作, 提高信令跟踪的通 用性、 筒便性和有效性。 Defect 3. When the trace record needs to be saved, the data record will be saved as a txt file. Therefore, if signal tracking needs to be turned on when a problem occurs, it is impossible to analyze a large amount of data in real time, and a large amount of data needs to be obtained from the txt file. When the txt file is opened, other people may easily see the signaling content that can reflect the internal logic of the service. Therefore, the preservation of the signaling trace record has a large security risk and the confidentiality is poor. SUMMARY OF THE INVENTION The present invention provides a method, a device, and a system for implementing signaling tracking, to provide a novel signaling tracking mode, a centralized signaling tracking operation, and an improved letter. Make tracking the versatility, ease of use and effectiveness.
一种实现信令跟踪的系统, 包括:  A system for implementing signaling tracking, comprising:
信令跟踪客户端, 设置为输出信令跟踪请求, 所述信令跟踪请求中携带有信令跟踪 参数;  The signaling tracking client is configured to output a signaling tracking request, where the signaling tracking request carries a signaling tracking parameter;
信令跟踪服务器, 设置为接收所述信令跟踪客户端输出的信令跟踪请求, 并根据所 述信令跟踪请求输出信令跟踪指令;  a signaling tracking server, configured to receive a signaling tracking request output by the signaling tracking client, and output a signaling tracking instruction according to the signaling tracking request;
网元设备, 设置为接收所述信令跟踪服务器输出的信令跟踪指令, 并根据所述信令 跟踪指令向所述信令跟踪服务器上报相应的携带有所述信令跟踪参数的信令消息。  The network element device is configured to receive the signaling tracking instruction output by the signaling tracking server, and report the corresponding signaling message carrying the signaling tracking parameter to the signaling tracking server according to the signaling tracking instruction. .
较佳地, 所述信令跟踪服务器还设置为, 在输出信令跟踪指令之后, 监听所述网元 设备是否上报消息;  Preferably, the signaling tracking server is further configured to: after outputting the signaling tracking instruction, monitor whether the network element device reports a message;
在监听到所述网元设备上报信息时, 为上报的每一条消息生成唯一对应的消息流水 号;  When the information reported by the network element device is monitored, a unique corresponding message serial number is generated for each message reported;
所述信令跟踪服务器在监听到所述网元设备上报的消息为信令消息时, 为监听到的 信令消息生成唯一对应的信令序列号, 并根据所述信令消息及其信令序列号生成具有信 令结构的信令消息, 并将该信令消息存储到数据緩存中。  When the signaling tracking server detects that the message reported by the network element device is a signaling message, it generates a unique corresponding signaling sequence number for the intercepted signaling message, and according to the signaling message and its signaling The sequence number generates a signaling message with a signaling structure and stores the signaling message in a data buffer.
较佳地, 所述信令跟踪服务器还设置为, 在确定所述数据緩存中的信令数据量超过 緩存容量时, 从所述数据緩存中提取至少一条信令消息, 并将提取出的所述至少一条信 令消息存储至数据库中;  Preferably, the signaling tracking server is further configured to: when determining that the amount of signaling data in the data buffer exceeds a buffer capacity, extract at least one signaling message from the data buffer, and extract the extracted information Decoding at least one signaling message to the database;
所述信令跟踪服务器还设置为,针对提取的所述至少一条信令消息中的每条信令消 息, 根据该条信令消息的信令跟踪参数确定需要保存为信令文件时, 将该条信令消息写 成信令文件并保存到磁盘中。  The signaling tracking server is further configured to, when determining, according to the signaling tracking parameter of the at least one signaling message, the signaling tracking parameter of the signaling message needs to be saved as a signaling file, The strip signaling message is written as a signaling file and saved to disk.
较佳地, 所述信令跟踪服务器还设置为, 将提取出的所述至少一条信令消息存储至 数据库之后, 在判断所述数据緩存的数据量超过设置的容量阈值时, 将所述数据緩存中 存储时间较早的至少一条信令消息删除。  Preferably, the signaling tracking server is further configured to: after storing the extracted at least one signaling message to a database, when determining that the data volume of the data cache exceeds a set capacity threshold, the data is At least one signaling message with an earlier storage time in the cache is deleted.
较佳地, 所述信令跟踪服务器还设置为, 当在设定的时长阈值内未监听到所述网元 设备上报消息时, 结束信令跟踪流程。 较佳地, 所述信令跟踪服务器还设置为, 判断所述信令跟踪请求中的信令跟踪参数 是否合法, 并在不合法时向所述信令跟踪客户端发送信令跟踪失败通知消息, 在合法且 在输出信令跟踪指令之后 , 建立与所述网元设备进行信令跟踪的信令跟踪链路; Preferably, the signaling tracking server is further configured to end the signaling tracking process when the network element device reports the message without being monitored within the set duration threshold. Preferably, the signaling tracking server is further configured to: determine whether the signaling tracking parameter in the signaling tracking request is legal, and send a signaling tracking failure notification message to the signaling tracking client when it is not legal. Establishing a signaling tracking link that performs signaling tracking with the network element device after being legal and after outputting the signaling tracking instruction;
所述网元设备上报相应的信令消息, 设置为, 通过所述信令跟踪链路上报相应的信 令消息。  The network element device reports the corresponding signaling message, and is configured to report the corresponding signaling message by using the signaling tracking link.
较佳地, 所述信令跟踪客户端还设置为, 向所述信令跟踪服务器发送信令跟踪停止 请求; 所述信令跟踪服务器还设置为, 在接收到所述信令跟踪客户端发送的所述信令跟 踪停止请求时, 断开所述信令跟踪链路;  Preferably, the signaling tracking client is further configured to send a signaling tracking stop request to the signaling tracking server; the signaling tracking server is further configured to: after receiving the signaling tracking client, send Disconnecting the signaling tracking link when the signaling tracking stop request is performed;
所述信令跟踪服务器根据所述信令请求中的信令跟踪参数确定需要将所述网元设 备上报的信令消息保存为信令文件时,将所述网元设备上报的信令消息写成信令文件并 保存到磁盘中; 和 /或, 将所述网元设备上报的信令消息存储至数据库中。  The signaling tracking server determines, according to the signaling tracking parameter in the signaling request, that the signaling message reported by the network element device is to be saved as a signaling file, and the signaling message reported by the network element device is written as The signaling file is saved to the disk; and/or the signaling message reported by the network element device is stored in the database.
较佳地,所述信令跟踪服务器还设置为,在接收到所述网元设备上报的信令消息时, 对所述信令消息进行解析, 并根据解析结果生成表格形式或树状形式的信令消息, 并发 送给所述信令跟踪客户端;  Preferably, the signaling tracking server is further configured to: when receiving the signaling message reported by the network element device, parse the signaling message, and generate a table form or a tree form according to the parsing result. Transmitting a message to the signaling tracking client;
所述信令跟踪客户端还设置为, 显示接收到的表格形式或树状形式的信令消息。 一种实现信令跟踪的方法, 包括:  The signaling tracking client is further configured to display the received signaling message in the form of a table or a tree. A method for implementing signaling tracking includes:
信令跟踪服务器接收信令跟踪客户端输出的信令跟踪请求, 并向网元设备输出信令 跟踪指令, 所述信令跟踪请求携带有信令跟踪参数;  The signaling tracking server receives the signaling tracking request output by the signaling tracking client, and outputs a signaling tracking instruction to the network element device, where the signaling tracking request carries a signaling tracking parameter;
所述信令跟踪服务器接收网元设备上报的相应的携带有所述信令跟踪参数的信令 消息。  The signaling tracking server receives a corresponding signaling message that is carried by the network element device and carries the signaling tracking parameter.
较佳地, 上述方法还包括: 所述信令跟踪服务器在向网元设备输出信令跟踪指令之 后, 监听所述网元设备是否上报消息, 并在监听到所述网元设备上报消息时, 为上报的 每一条消息生成唯一对应的消息流水号;  Preferably, the method further includes: after the signaling tracking server outputs the signaling tracking instruction to the network element device, the device is configured to monitor whether the network element device reports a message, and when the network element device is reported to report the message, Generating a unique corresponding message serial number for each message reported;
所述信令跟踪服务器在监听到所述网元设备上报的消息为信令消息时, 为监听到的 信令消息生成唯一对应的信令序列号, 并根据所述信令消息及其信令序列号生成具有信 令结构的信令消息, 并将该信令消息存储到数据緩存中。  When the signaling tracking server detects that the message reported by the network element device is a signaling message, it generates a unique corresponding signaling sequence number for the intercepted signaling message, and according to the signaling message and its signaling The sequence number generates a signaling message with a signaling structure and stores the signaling message in a data buffer.
较佳地, 上述方法还包括: 信令跟踪服务器在确定所述数据緩存中的信令数据量超 过緩存容量时, 从所述数据緩存中提取至少一条信令消息, 并将提取出的所述至少一条 信令消息存储至数据库中;  Preferably, the method further includes: the signaling tracking server extracting at least one signaling message from the data buffer when determining that the amount of signaling data in the data buffer exceeds a buffering capacity, and extracting the extracted At least one signaling message is stored in the database;
所述信令跟踪服务器针对提取的所述至少一条信令消息中的每条信令消息,根据该 条信令消息的信令跟踪参数确定需要保存为信令文件时,将该条信令消息写成信令文件 并保存到磁盘中。 The signaling tracking server is configured for each of the extracted at least one signaling message, according to the When the signaling tracking parameter of the signaling message needs to be saved as a signaling file, the signaling message is written into the signaling file and saved to the disk.
较佳地, 上述方法还包括: 所述信令跟踪服务器在向网元设备输出信令跟踪指令之 后, 建立与所述网元设备进行信令跟踪的信令跟踪链路;  Preferably, the method further includes: after the signaling tracking server outputs the signaling tracking instruction to the network element device, establishing a signaling tracking link that performs signaling tracking with the network element device;
所述信令跟踪服务器通过所述信令跟踪链路接收所述网元设备上报的相应的信令 消息。  The signaling tracking server receives the corresponding signaling message reported by the network element device by using the signaling tracking link.
较佳地, 上述方法还包括: 所述信令跟踪客户端向所述信令跟踪服务器发送信令跟 踪停止请求;  Preferably, the method further includes: the signaling tracking client sending a signaling tracking stop request to the signaling tracking server;
所述信令跟踪服务器在接收到所述信令跟踪客户端发送的所述信令跟踪停止请求 时, 断开所述信令跟踪链路;  The signaling tracking server disconnects the signaling tracking link when receiving the signaling tracking stop request sent by the signaling tracking client;
所述信令跟踪服务器根据所述信令请求中的信令跟踪参数确定需要将所述网元设 备上报的信令消息保存为信令文件时,将所述网元设备上报的信令消息写成信令文件并 保存到磁盘中; 和 /或, 将所述网元设备上报的信令消息存储至数据库中。  The signaling tracking server determines, according to the signaling tracking parameter in the signaling request, that the signaling message reported by the network element device is to be saved as a signaling file, and the signaling message reported by the network element device is written as The signaling file is saved to the disk; and/or the signaling message reported by the network element device is stored in the database.
一种信令跟踪服务器, 包括:  A signaling tracking server, comprising:
流程处理单元, 设置为接收携带有信令跟踪参数的信令跟踪请求, 并根据所述信令 跟踪请求输出信令跟踪指令; 以及, 设置为接收网元设备根据所述信令跟踪指令上报的 携带有所述信令跟踪参数的信令消息。  a flow processing unit, configured to receive a signaling tracking request carrying a signaling tracking parameter, and output a signaling tracking instruction according to the signaling tracking request; and configured to receive, by the receiving network element device, the signaling tracking instruction A signaling message carrying the signaling tracking parameter.
较佳地, 所述信令跟踪服务器还包括: 信令监听单元, 设置为在所述流程处理单元 输出信令跟踪指令之后, 监听所述网元设备是否上报消息, 并在监听到所述网元设备上 报消息时, 启动流水号生成单元;  Preferably, the signaling tracking server further includes: a signaling monitoring unit, configured to: after the flow processing unit outputs a signaling tracking instruction, monitor whether the network element device reports a message, and listen to the network When the meta-device reports the message, the pipeline number generating unit is started;
流水号生成单元,设置为为所述网元设备上报的每一条消息生成唯一对应的消息流 水号。  The serial number generating unit is configured to generate a unique corresponding message serial number for each message reported by the network element device.
较佳地, 所述信令跟踪服务器还包括数据緩存单元;  Preferably, the signaling tracking server further includes a data buffer unit;
所述信令监听单元还设置为, 在监听到所述网元设备上报的消息为信令消息时, 启 动所述流水号生成单元; 以及, 根据所述信令消息与所述流水号单元为所述信令消息生 成的信令序列号生成据有信令结构的信令消息, 并将该信令消息存储到数据緩存单元 中;  The signaling intercepting unit is further configured to: when the message reported by the network element device is monitored as a signaling message, start the serial number generating unit; and, according to the signaling message and the serial number unit, The signaling sequence number generated by the signaling message generates a signaling message according to a signaling structure, and stores the signaling message in a data buffer unit;
所述流水号生成单元还设置为, 为监听到的信令消息生成唯一对应的信令序列号。 较佳地, 所述信令跟踪服务器还包括信令数据调度单元和数据库存取单元; 所述数据緩存单元还设置为, 在确定所述数据緩存中的信令数据量超过緩存容量 时, 启动所述信令数据调度单元; The serial number generating unit is further configured to generate a unique corresponding signaling sequence number for the monitored signaling message. Preferably, the signaling tracking server further includes a signaling data scheduling unit and a database access unit; the data buffering unit is further configured to: determine that the amount of signaling data in the data buffer exceeds a buffer capacity And starting the signaling data scheduling unit;
所述信令数据调度单元, 设置为从所述数据緩存单元中提取至少一条信令消息, 并 启动所述数据库存取单元;  The signaling data scheduling unit is configured to extract at least one signaling message from the data buffer unit, and start the database access unit;
所述数据库存取单元,设置为将所述信令数据调度单元提取的所述至少一条信令消 息存储至数据库中。  The database access unit is configured to store the at least one signaling message extracted by the signaling data scheduling unit into a database.
较佳地, 所述信令跟踪服务器还包括信令文件读写单元;  Preferably, the signaling tracking server further includes a signaling file read/write unit;
所述流程处理单元还设置为,根据所述信令请求中的信令跟踪参数确定需要将所述 网元设备上报的信令消息保存为信令文件时, 启动所述信令文件读写单元;  The process processing unit is further configured to: when determining, according to the signaling tracking parameter in the signaling request, that the signaling message reported by the network element device needs to be saved as a signaling file, start the signaling file reading and writing unit ;
信令文件读写单元,设置为将所述网元设备上报的信令消息写成信令文件并保存到 磁盘中; 和 /或, 将所述网域设备上报的信令消息存储至数据库中。  The signaling file reading and writing unit is configured to write the signaling message reported by the network element device into a signaling file and save it to the disk; and/or, store the signaling message reported by the domain device into the database.
较佳地, 所述信令跟踪服务器还包括信令数据解析单元;  Preferably, the signaling tracking server further includes a signaling data parsing unit;
所述流程处理单元还设置为, 在接收到所述网元设备上报的信令消息时, 启动所述 信令数据解析单元;  The process processing unit is further configured to: when receiving the signaling message reported by the network element device, start the signaling data parsing unit;
所述信令数据解析单元, 设置为对所述信令消息进行解析, 并根据解析结果生成表 格形式或树状形式的信令消息, 并发送给所述信令跟踪客户端。  The signaling data parsing unit is configured to parse the signaling message, and generate a signaling message in the form of a table or a tree according to the parsing result, and send the signaling message to the signaling tracking client.
较佳地, 所述信令跟踪服务器心跳检测单元;  Preferably, the signaling tracking server heartbeat detecting unit;
所述流程处理单元还设置为, 在输出信令跟踪指令之后 , 建立与所述网元设备进行 信令跟踪的信令跟踪链路; 以及通过所述信令跟踪链路接收所述网元设备上报的信令消 息;  The flow processing unit is further configured to: after outputting the signaling tracking instruction, establish a signaling tracking link that performs signaling tracking with the network element device; and receive the network element device by using the signaling tracking link Signaling message reported;
心跳检测单元, 设置为检测所述信令跟踪链路的状态, 并在设定的时长阈值内未检 测到所述网元设备通过所述信令跟踪链路上报信令消息时, 关闭所述信令跟踪链路的业 务逻辑。  a heartbeat detecting unit, configured to detect a state of the signaling tracking link, and to detect, when the network element device does not detect the signaling message through the signaling tracking link, within a set duration threshold, Signaling tracks the business logic of the link.
本发明实施例中, 用户可通过信令跟踪客户端发送信令跟踪请求, 并通过信令跟踪 服务器向网元设备发送信令跟踪指令, 以指示网元设备上报相应的信令消息, 从而实现 了信令跟踪; 由于通过信令跟踪客户端发送信令跟踪请求, 不需要输入一系列的命令来 进行信令跟踪, 因此, 釆用本发明实施例技术方案不需要操作人员必须熟练掌握人机操 作命令, 从而筒化了信令跟踪操作, 提高了信令跟踪的通用性和筒便性; 另外, 信令跟 踪请求中携带有信令跟踪参数, 而信令跟踪参数该可以包括信令方向、 信令名称、 跟踪 范围、 信令详细程度等配置参数, 因此为操作人员进行针对性的信令跟踪提供了方便, 提高了信令跟踪的有效性。 附图说明 图 1为本发明实施例中实现信令跟踪的系统的结构示意图; In the embodiment of the present invention, the user may send a signaling tracking request by using the signaling tracking client, and send a signaling tracking instruction to the network element device by using the signaling tracking server to instruct the network element device to report the corresponding signaling message, thereby implementing Signaling tracking; Since the signaling tracking request is sent by the client through the signaling, there is no need to input a series of commands for signaling tracking. Therefore, the technical solution of the embodiment of the present invention does not require the operator to be proficient in man-machine. The operation command, thereby simplifying the signaling tracking operation, improves the versatility and the convenience of the signaling tracking; in addition, the signaling tracking request carries the signaling tracking parameter, and the signaling tracking parameter may include the signaling direction The configuration parameters such as signaling name, tracking range, and signaling detail degree provide convenience for the operator to perform targeted signaling tracking and improve the effectiveness of signaling tracking. BRIEF DESCRIPTION OF DRAWINGS FIG. 1 is a schematic structural diagram of a system for implementing signaling tracking according to an embodiment of the present invention;
图 2为本发明实施例中信令跟踪服务器的结构示意图;  2 is a schematic structural diagram of a signaling tracking server according to an embodiment of the present invention;
图 3 为本发明实施例中网管系统与网元设备之间的结构关系示意图;  3 is a schematic structural diagram of a relationship between a network management system and a network element device according to an embodiment of the present invention;
图 4为本发明实施例中实现信令跟踪的方法流程示意图;  4 is a schematic flowchart of a method for implementing signaling tracking according to an embodiment of the present invention;
图 5为本发明实施例中信令跟踪服务器启动信令跟踪时的业务逻辑流程示意图; 图 6为本发明实施例中信令跟踪服务器在接收到信令跟踪客户端发送的信令跟踪停 止指令时的业务逻辑流程示意图;  FIG. 5 is a schematic diagram of a service logic flow when a signaling tracking server initiates signaling tracking according to an embodiment of the present invention; FIG. 6 is a signaling tracking stop command sent by a signaling tracking server after receiving a signaling tracking client according to an embodiment of the present invention; Schematic diagram of the business logic flow;
图 7为本发明实施例中信令跟踪服务器在接收到网元设备返回的信令消息时的业务 逻辑流程示意图;  7 is a schematic diagram of a service logic flow when a signaling tracking server receives a signaling message returned by a network element device according to an embodiment of the present invention;
图 8为本发明实施例中信令跟踪服务器对数据緩存中的消息进行调度处理的业务逻 辑流程示意图。 具体实施方式 针对现有技术存在的上述技术问题, 本发明实施例提供一种实现信令跟踪的方法、 装置及系统, 以提供一种新型的信令跟踪方式, 筒化信令跟踪操作, 提高信令跟踪的通 用性、 筒便性和有效性。 实现信令跟踪的系统, 包括: 信令跟踪客户端, 设置为输出信 令跟踪请求, 所述信令跟踪请求中携带有信令跟踪参数; 信令跟踪服务器, 设置为接收 所述信令跟踪客户端输出的信令跟踪请求, 并根据所述信令跟踪请求输出信令跟踪指 令; 网元设备, 设置为接收所述信令跟踪服务器输出的信令跟踪指令, 并根据所述信令 跟踪指令向所述信令跟踪服务器上报相应的携带有所述信令跟踪参数的信令消息。釆用 本发明实施例技术方案, 由于通过信令跟踪客户端发送信令跟踪请求, 不需要输入一系 列的命令来进行信令跟踪, 因此, 釆用本发明实施例技术方案不需要操作人员必须熟练 掌握人机操作命令, 从而筒化了信令跟踪操作, 提高了信令跟踪的通用性和筒便性; 另 外, 信令跟踪请求中携带有信令跟踪参数, 而信令跟踪参数可以包括信令方向、 信令名 称、 跟踪范围、 信令详细程度等配置参数, 因此为操作人员进行针对性的信令跟踪提供 了方便, 提高了信令跟踪的有效性。  FIG. 8 is a schematic diagram of a service logic process for a signaling tracking server to perform scheduling processing on a message in a data cache according to an embodiment of the present invention. The embodiments of the present invention provide a method, a device, and a system for implementing signaling tracking, to provide a novel signaling tracking mode, and a centralized signaling tracking operation, which is improved. The versatility, ease of use and effectiveness of signaling tracking. The system for implementing signaling tracking includes: a signaling tracking client, configured to output a signaling tracking request, where the signaling tracking request carries a signaling tracking parameter; and a signaling tracking server, configured to receive the signaling tracking a signaling tracking request output by the client, and outputting a signaling tracking instruction according to the signaling tracking request; the network element device is configured to receive a signaling tracking instruction output by the signaling tracking server, and according to the signaling tracking The instruction reports the corresponding signaling message carrying the signaling tracking parameter to the signaling tracking server. In the technical solution of the embodiment of the present invention, since the signaling tracking request is sent by the client through the signaling, there is no need to input a series of commands to perform signaling tracking. Therefore, the technical solution of the embodiment of the present invention does not require an operator. Proficiency in man-machine operation commands, thereby simplifying the signaling tracking operation, improving the versatility and convenience of signaling tracking; in addition, the signaling tracking request carries signaling tracking parameters, and the signaling tracking parameters may include Configuration parameters such as signaling direction, signaling name, tracking range, and signaling detail level provide convenience for the operator to perform targeted signaling tracking and improve the effectiveness of signaling tracking.
下面结合说明书附图对本发明技术方案进行详细的描述。  The technical solution of the present invention will be described in detail below with reference to the accompanying drawings.
参见图 1 , 为本发明实施例中实现信令跟踪的系统的结构示意图, 该系统可包括: 信令跟踪客户端 1 , 设置为输出信令跟踪请求, 所述信令跟踪请求中携带有信令跟 踪参数; FIG. 1 is a schematic structural diagram of a system for implementing signaling tracking according to an embodiment of the present disclosure, where the system may include: The signaling tracking client 1 is configured to output a signaling tracking request, where the signaling tracking request carries a signaling tracking parameter;
信令跟踪服务器 2, 设置为接收信令跟踪客户端 1输出的信令跟踪请求, 并根据所 述信令跟踪请求输出信令跟踪指令;  The signaling tracking server 2 is configured to receive a signaling tracking request outputted by the client 1 and output a signaling tracking instruction according to the signaling tracking request;
网元设备 3 , 设置为接收信令跟踪服务器 2输出的信令跟踪指令, 并根据所述信令 跟踪指令向所述信令跟踪服务器上报相应的携带有所述信令跟踪参数的信令消息。  The network element device 3 is configured to receive the signaling tracking instruction output by the signaling tracking server 2, and report the corresponding signaling message carrying the signaling tracking parameter to the signaling tracking server according to the signaling tracking instruction. .
较佳地, 为便于后续对信令消息的定位、 查询和分析等操作, 上述信令跟踪服务器 2还可设置为, 在输出信令跟踪指令之后, 监听所述网元设备是否上报消息; 在监听到 所述网元设备上报消息时, 为上报的每一条消息生成唯一对应的消息流水号。  Preferably, the signaling tracking server 2 may be configured to monitor whether the network element device reports a message after outputting the signaling tracking instruction, in order to facilitate subsequent operations such as positioning, querying, and analyzing the signaling message. When the network element device reports the message, it generates a unique corresponding message serial number for each message reported.
较佳地, 当信令跟踪服务器 2监听到网元设备 3上报的消息为信令消息时, 为监听 到的信令消息生成唯一对应的信令序列号, 并根据所述信令消息及其信令序列号生成具 有信令结构的信令消息, 并将该信令消息存储到数据緩存中。  Preferably, when the signaling tracking server 2 monitors that the message reported by the network element device 3 is a signaling message, it generates a unique corresponding signaling sequence number for the intercepted signaling message, and according to the signaling message and The signaling sequence number generates a signaling message having a signaling structure and stores the signaling message in a data buffer.
较佳地, 为避免数据緩存中緩存的数据量过大, 上述信令跟踪服务器 2还设置为, 在确定所述数据緩存中的信令数据量超过緩存容量时,从所述数据緩存中提取至少一条 信令消息, 并将提取出的所述至少一条信令消息存储至数据库中。 更进一步地, 信令跟 踪服务器 2针对提取的所述至少一条信令消息中的每条信令消息,根据该条信令消息的 信令跟踪参数确定需要保存为信令文件时,将该条信令消息写成信令文件并保存到磁盘 中。  Preferably, in order to prevent the amount of data buffered in the data cache from being excessively large, the signaling tracking server 2 is further configured to: extract the data cache from the data cache when determining that the amount of signaling data in the data buffer exceeds the buffer capacity. At least one signaling message, and storing the extracted at least one signaling message in a database. Further, the signaling tracking server 2 determines, for each signaling message in the extracted at least one signaling message, according to the signaling tracking parameter of the signaling message, when the information needs to be saved as a signaling file, The signaling message is written as a signaling file and saved to disk.
较佳地, 为确保数据緩存存储信令消息的有效性, 本发明实施例中, 上述信令跟踪 服务器 2还设置为, 将提取出的所述至少一条信令消息存储至数据库之后, 在判断所述 数据緩存的数据量超过设置的容量阈值时,将所述数据緩存中存储时间较早的至少一条 信令消息删除, 所述容量阈值小于所述存储容量。  Preferably, in order to ensure that the data cache stores the validity of the signaling message, in the embodiment of the present invention, the signaling tracking server 2 is further configured to: after the extracted at least one signaling message is stored in the database, When the data volume of the data cache exceeds the set capacity threshold, at least one signaling message with an earlier storage time in the data cache is deleted, and the capacity threshold is smaller than the storage capacity.
较佳地, 为节省系统资源, 上述信令跟踪服务器 2还设置为, 在设定的时长阈值内 未监听到网元设备 3上报的信令消息时, 结束信令跟踪流程。  Preferably, in order to save system resources, the signaling tracking server 2 is further configured to end the signaling tracking process when the signaling message reported by the network element device 3 is not monitored within the set duration threshold.
较佳地, 为避免信令跟踪占用大量链路带宽而导致不能实时上报信令消息的问题, 本发明实施例中,为信令跟踪服务器 2和网元设备 3开辟专用于信令跟踪的专用链路(即 信令跟踪链路); 上述信令跟踪服务器 2还设置为, 在输出信令跟踪指令之后, 建立与 网元设备 3进行信令跟踪的信令跟踪链路; 网元设备 3上报相应的信令消息, 设置为: 通过所述信令跟踪链路上报相应的信令消息。  Preferably, in the embodiment of the present invention, the signaling tracking server 2 and the network element device 3 are dedicated to signaling tracking, in order to avoid the problem that the signaling tracking is occupied by a large amount of link bandwidth. The signaling tracking server 2 is further configured to: after outputting the signaling tracking instruction, establish a signaling tracking link that performs signaling tracking with the network element device 3; the network element device 3 The corresponding signaling message is reported, and is set to: report the corresponding signaling message by using the signaling tracking link.
较佳地, 为提高信令跟踪的成功率和有效性, 信令跟踪服务器 2还设置为, 在建立 所述信令跟踪链路之前, 判断所述信令跟踪请求中的信令跟踪参数是否合法, 并在不合 法时向信令跟踪客户端 1发送信令跟踪失败通知消息。 Preferably, in order to improve the success rate and effectiveness of signaling tracking, the signaling tracking server 2 is further configured to be established. Before the signaling tracking link, it is determined whether the signaling tracking parameter in the signaling tracking request is legal, and sends a signaling tracking failure notification message to the signaling tracking client 1 when it is not legal.
较佳地, 在需要结束信令跟踪时, 为节省系统资源, 上述信令跟踪客户端 11还设 置为, 向信令跟踪服务器 2发送信令跟踪停止请求;  Preferably, in order to save system resources, the signaling tracking client 11 is further configured to send a signaling tracking stop request to the signaling tracking server 2;
信令跟踪服务器 2还设置为,在接收到信令跟踪客户端 1发送的所述信令跟踪停止 请求时, 断开所述信令跟踪链路; 停止接收网元设备 3上报的信令消息。  The signaling tracking server 2 is further configured to: when receiving the signaling tracking stop request sent by the signaling tracking client 1, disconnect the signaling tracking link; and stop receiving the signaling message reported by the network element device 3 .
较佳地, 信令跟踪服务器 2检测信令跟踪链路的状态, 并在设定的时长阈值内未检 测到所述网元设备通过所述信令跟踪链路上报信令消息时, 关闭所述信令跟踪链路 , 结 束信令跟踪流程。  Preferably, the signaling tracking server 2 detects the status of the signaling tracking link, and does not detect that the network element device reports the signaling message through the signaling tracking link within the set duration threshold, and closes the The signaling traces the link and ends the signaling tracking process.
较佳地, 为后续对信令消息进行分析、 过滤、 统计等操作提供便利, 本发明实施例 中, 保存网元设备 3上报的信令消息; 具体地, 信令跟踪服务器 2还设置为, 根据所述 信令请求中的信令跟踪参数确定需要将所述网元设备上报的信令消息保存为信令文件 时, 将网元设备 3上报的信令消息写成信令文件并保存到磁盘中; 和 /或, 将所述网元设 备 3上报的信令消息保存至数据库中。  In the embodiment of the present invention, the signaling message reported by the network element device 3 is saved in the embodiment of the present invention. Specifically, the signaling tracking server 2 is further configured to: Determining, according to the signaling tracking parameter in the signaling request, that the signaling message reported by the network element device is saved as a signaling file, writing the signaling message reported by the network element device 3 into a signaling file and saving the file to the disk And/or, saving the signaling message reported by the network element device 3 to the database.
较佳地, 为便于对信令消息进行二次过滤、 分析统计等较为复杂的操作, 以及提高 信令消息查看的安全性, 上述信令跟踪服务器 2还设置为, 在接收到网元设备 3上报的 信令消息时, 对所述信令消息进行解析, 并根据解析结果生成表格形式或树状形式的信 令消息, 并发送给信令跟踪客户端 1 ; 信令跟踪客户端 1还设置为, 显示接收到的表格 形式或树状形式的信令消息。 进一步地, 信令跟踪服务器 2釆用 TCP/IP实时向信令跟 踪客户端 1发送表格形式或树状形式的信令消息。  Preferably, the signaling tracking server 2 is further configured to receive the network element device 3, in order to facilitate the second filtering of the signaling message, the analysis of the statistics, and the like, and the security of the signaling message viewing. When the signaling message is reported, the signaling message is parsed, and a signaling message in the form of a table or a tree is generated according to the parsing result, and sent to the signaling tracking client 1; the signaling tracking client 1 is also set. To display the received signaling message in tabular or tree form. Further, the signaling tracking server 2 transmits the signaling message in the form of a table or a tree to the signaling tracking client 1 in real time using TCP/IP.
本发明实施例中的网元设备可以是 RFID阅读器。  The network element device in the embodiment of the present invention may be an RFID reader.
本发明实施例中, 信令跟踪客户端 11 可提供界面, 便于操作人员在所述界面上配 置跟踪参数、 启动 /停止信令跟踪、分析信令消息等操作, 并且还可用在该界面上显示信 令跟踪参数。  In the embodiment of the present invention, the signaling tracking client 11 can provide an interface, so that the operator can configure tracking parameters, start/stop signaling tracking, analyzing signaling messages, and the like on the interface, and can also be displayed on the interface. Signaling tracking parameters.
参见图 2, 为本发明实施例中的信令跟踪服务器的结构示意图, 该信令跟踪服务器 可包括:  Referring to FIG. 2, it is a schematic structural diagram of a signaling tracking server according to an embodiment of the present invention, where the signaling tracking server may include:
流程处理单元 21 ,设置为接收携带有信令跟踪参数的信令跟踪请求,并根据所述信 令跟踪请求输出信令跟踪指令; 以及, 设置为接收网元设备根据所述信令跟踪指令上报 的携带有所述信令跟踪参数的信令消息。  The process processing unit 21 is configured to receive a signaling tracking request that carries the signaling tracking parameter, and output a signaling tracking instruction according to the signaling tracking request, and set the receiving network element device to report according to the signaling tracking instruction. A signaling message carrying the signaling tracking parameter.
信令监听单元 22, 设置为在流程处理单元 21输出信令跟踪指令之后, 监听网元设 备是否上报消息, 并在监听到网元设备上报消息时, 启动流水号生成单元 23; The signaling monitoring unit 22 is configured to: after the flow processing unit 21 outputs the signaling tracking instruction, the monitoring network element is set. Whether to report the message, and when the network element device is reported to report the message, the serial number generating unit 23 is started;
流水号生成单元 23 ,设置为为所述网元设备上报的每一条消息生成唯一对应的消息 流水号。  The serial number generating unit 23 is configured to generate a unique corresponding message serial number for each message reported by the network element device.
较佳地, 信令跟踪服务器还包括数据緩存单元 25;  Preferably, the signaling tracking server further includes a data buffer unit 25;
信令监听单元 22还设置为, 在监听到所述网元设备上报的消息为信令消息时, 启 动流水号生成单元 23; 以及, 根据所述信令消息与所述流水号单元 23为所述信令消息 生成的信令序列号生成信令结构, 并将所述信令结构插入到数据緩存单元 25 中; 流水 号生成单元 23还设置为, 为监听到的信令消息生成唯一对应的信令序列号。  The signaling monitoring unit 22 is further configured to: when the message reported by the network element device is monitored as a signaling message, start the serial number generating unit 23; and, according to the signaling message and the serial number unit 23 The signaling sequence number generated by the signaling message generates a signaling structure, and the signaling structure is inserted into the data buffer unit 25; the serial number generating unit 23 is further configured to generate a unique correspondence for the intercepted signaling message. Signaling sequence number.
较佳地,上述信令跟踪服务器还可包括信令数据调度单元 26和数据库存取单元 27; 数据緩存单元 25还设置为,在确定所述数据緩存中的信令数据量超过緩存容量时, 启动信令数据调度单元 26;  Preferably, the signaling tracking server may further include a signaling data scheduling unit 26 and a database access unit 27; the data buffering unit 25 is further configured to: when determining that the amount of signaling data in the data buffer exceeds a buffer capacity, Initiating signaling data scheduling unit 26;
信令数据调度单元 26, 设置为从数据緩存单元 25中提取至少一条信令消息, 并启 动数据库存取单元 27; 数据库存取单元 27, 设置为将信令数据调度单元 26提取的所述 至少一条信令消息存储至数据库中。  The signaling data scheduling unit 26 is configured to extract at least one signaling message from the data buffer unit 25 and activate the database access unit 27; the database access unit 27 is configured to set the at least the signal data scheduling unit 26 to extract A signaling message is stored in the database.
较佳地, 上述信令跟踪服务器还可包括信令文件读写单元 28;  Preferably, the signaling tracking server may further include a signaling file read/write unit 28;
流程处理单元 21还设置为, 根据所述信令请求中的信令跟踪参数确定需要将所述 网元设备上报的信令消息保存为信令文件时, 启动所述信令文件读写单元 28;  The flow processing unit 21 is further configured to: when determining, according to the signaling tracking parameter in the signaling request, that the signaling message reported by the network element device needs to be saved as a signaling file, start the signaling file read/write unit 28 ;
信令文件读写单元 28 ,设置为将所述网元设备上报的信令消息写成信令文件并保存 至磁盘中; 和 /或, 将所述网元设备 3上报的信令消息保存至数据库中。  The signaling file reading and writing unit 28 is configured to write the signaling message reported by the network element device into a signaling file and save it to the disk; and/or save the signaling message reported by the network element device 3 to the database. in.
较佳地, 上述信令跟踪服务器还可进一步包括信令数据解析单元 29;  Preferably, the signaling tracking server may further include a signaling data parsing unit 29;
流程处理单元 21还设置为, 在接收到所述网元设备上报的信令消息时, 启动信令 数据解析单元 29;  The processing unit 21 is further configured to: when receiving the signaling message reported by the network element device, start the signaling data parsing unit 29;
信令数据解析单元 29,设置为对所述信令消息进行解析,并根据解析结果生成表格 形式或树状形式的信令消息, 并发送给信令跟踪客户端。  The signaling data parsing unit 29 is configured to parse the signaling message, and generate a signaling message in the form of a table or a tree according to the parsing result, and send the signaling message to the signaling tracking client.
较佳地, 流程处理单元 21还设置为: 在输出信令跟踪指令之后, 建立与所述网元 设备进行信令跟踪的信令跟踪链路; 以及通过所述信令跟踪链路接收所述网元设备上报 的信令消息。  Preferably, the process processing unit 21 is further configured to: after outputting the signaling tracking instruction, establish a signaling tracking link that performs signaling tracking with the network element device; and receive, by using the signaling tracking link, the Signaling message reported by the NE device.
较佳地, 上述信令跟踪服务器还可包括:  Preferably, the signaling tracking server may further include:
心跳检测单元 30,设置为检测所述信令跟踪链路的状态,并在设定的时长阈值内未 检测到所述网元设备通过所述信令跟踪链路上报信令消息时, 关闭所述信令跟踪链路的 业务逻辑。 The heartbeat detecting unit 30 is configured to detect a state of the signaling tracking link, and when the network element device does not detect the signaling message through the signaling tracking link, the network device is closed. Signaling trace link Business logic.
通过信令数据调度单元 26可以调度大数据量信令何时发送给信令跟踪客户端以及 何时进行信令消息的存取。  The signaling data scheduling unit 26 can schedule when large data volume signaling is sent to the signaling tracking client and when access to the signaling message is made.
本发明实施例中,信令跟踪客户端 1和信令跟踪服务器 2可以分别为独立的硬件设 备, 也可以是集成在同一硬件设备上。 如图 3所示为信令跟踪客户端 1和信令跟踪服务 器 2构成网管系统, 网管系统与网元设备 3之间设置有一般业务链路和信令跟踪链路, 其中: 一般业务链路为双向链路, 用于传输网元设备 3与网管系统之间进行正常业务的 消息,如信令跟踪功能的启动 /停止、信令跟踪命令的请求和响应结果等;信令跟踪链路, 为单向链路 , 在已经启动信令跟踪功能时, 网元设备 3通过该信令跟踪链路向网管系统 发送信令消息。 釆用信令跟踪链路来传输信令消息, 从而防止了一般业务消息被信令消 息阻塞的情况, 也避免了由于一般业务消息数据量较大而无法正常发送信令消息的问 题, 从而提高了一般业务信息和信令消息发送的有效性和成功率。  In the embodiment of the present invention, the signaling tracking client 1 and the signaling tracking server 2 may be independent hardware devices or integrated on the same hardware device. As shown in FIG. 3, the signaling tracking client 1 and the signaling tracking server 2 form a network management system. The network management system and the network element device 3 are provided with a general service link and a signaling tracking link, where: a general service link The two-way link is used for transmitting the normal service between the network element device 3 and the network management system, such as the start/stop of the signaling tracking function, the request and response result of the signaling tracking command, and the signaling tracking link. For the unidirectional link, when the signaling tracking function is enabled, the network element device 3 sends a signaling message to the network management system through the signaling tracking link. The signaling tracking link is used to transmit the signaling message, thereby preventing the general service message from being blocked by the signaling message, and avoiding the problem that the signaling message cannot be normally sent due to the large amount of data of the general service message, thereby improving The validity and success rate of general service information and signaling message transmission.
本发明实施例还提供一种实现信令跟踪的方法, 该方法的流程如图 4所示。  The embodiment of the invention further provides a method for implementing signaling tracking, and the process of the method is shown in FIG. 4 .
参见图 4, 为本发明实施例中实现信令跟踪的方法流程示意图, 该方法包括步骤: 步骤 401、 信令跟踪客户端输出携带有信令跟踪参数的信令跟踪请求。  FIG. 4 is a schematic flowchart of a method for implementing signaling tracking according to an embodiment of the present invention. The method includes the following steps: Step 401: A signaling tracking client outputs a signaling tracking request that carries signaling tracking parameters.
信令跟踪参数可包括信令方向、 信令名称、 跟踪范围、 信令详细程度、 自动保存成 信令文件开关等配置参数。  The signaling tracking parameters may include signaling directions, signaling names, tracking ranges, signaling level of detail, and configuration parameters such as automatic saving into signaling file switches.
步骤 402、 信令跟踪服务器根据所述信令跟踪客户端输出的所述信令跟踪请求, 输 出信令跟踪指令。  Step 402: The signaling tracking server outputs the signaling tracking instruction according to the signaling tracking request output by the client according to the signaling.
步骤 403、 网元设备根据所述信令跟踪服务器输出的信令跟踪指令, 向所述信令跟 踪服务器上报相应的携带有信令跟踪参数的信令消息。  Step 403: The network element device reports, according to the signaling tracking instruction output by the signaling tracking server, a signaling message carrying the signaling tracking parameter to the signaling tracking server.
较佳地, 上述流程的步骤 403之后, 还可包括步骤: 信令跟踪服务器在输出信令跟 踪指令之后, 监听所述网元设备是否上报消息, 并在监听到所述网元设备上报消息时, 为上报的每一条消息生成唯一对应的消息流水号。  Preferably, after step 403 of the foregoing process, the method further includes the following steps: after the signaling tracking command is output, the signaling tracking server monitors whether the network element device reports a message, and when the network element device reports the message , generating a unique corresponding message serial number for each message reported.
较佳地, 上述流程还可包括步骤: 信令跟踪服务器在监听到所述网元设备上报的消 息为信令消息时, 为监听到的信令消息生成唯一对应的信令序列号, 并根据所述信令消 息及其信令序列号生成具有信令结构的信令消息, 并将该信令消息存储到数据緩存中。  Preferably, the foregoing process may further include the following steps: when the signaling tracking server detects that the message reported by the network element device is a signaling message, generating a unique corresponding signaling sequence number for the intercepted signaling message, and according to The signaling message and its signaling sequence number generate a signaling message having a signaling structure, and store the signaling message in a data buffer.
较佳地, 上述流程还可包括步骤: 信令跟踪服务器在确定所述数据緩存中的信令数 据量超过緩存容量时, 从所述数据緩存中提取至少一条信令消息, 并将提取出的所述至 少一条信令消息存储至数据库中。 较佳地, 上述流程还可包括步骤: Preferably, the foregoing process may further include: the signaling tracking server extracting at least one signaling message from the data cache when determining that the amount of signaling data in the data buffer exceeds a buffer capacity, and extracting the extracted The at least one signaling message is stored in a database. Preferably, the above process may further include the steps of:
信令跟踪服务器针对提取的所述至少一条信令消息中的每条信令消息,根据该条信 令消息的信令跟踪参数确定需要保存为信令文件时,将该条信令消息写成信令文件并保 存到磁盘中。  And the signaling tracking server writes the signaling message to the signaling message according to the signaling tracking parameter of the signaling message and determines the signaling message to be saved as a signaling file. Let the file be saved to disk.
较佳地, 上述流程还可包括步骤:  Preferably, the above process may further include the steps of:
信令跟踪服务器在设定的时长阈值内未监听到所述网元设备上报信令消息时, 结束 信令跟踪流程。  The signaling tracking server ends the signaling tracking process when the signaling message reported by the network element device is not monitored within the set duration threshold.
上述流程的步骤 402中, 还包括: 信令跟踪服务器建立与所述网元设备进行信令跟 踪的信令跟踪链路; 上述步骤 403中, 网元设备上报相应的信令消息, 设置为, 通过所 述信令跟踪链路上报相应的信令消息。  In step 402 of the foregoing process, the method further includes: the signaling tracking server establishes a signaling tracking link that performs signaling tracking with the network element device; in the foregoing step 403, the network element device reports a corresponding signaling message, and is configured to The corresponding signaling message is reported by the signaling tracking link.
较佳地, 上述流程还可包括步骤: 信令跟踪客户端向所述信令跟踪服务器发送信令 跟踪停止请求; 所述信令跟踪服务器在接收到所述信令跟踪客户端发送的所述信令跟踪 停止请求时, 断开所述信令跟踪链路。  Preferably, the foregoing process may further include the following steps: the signaling tracking client sends a signaling tracking stop request to the signaling tracking server; and the signaling tracking server receives the signaling sent by the signaling tracking client. When the signaling traces the stop request, the signaling trace link is disconnected.
较佳地, 上述流程还可包括步骤: 信令跟踪服务器根据所述信令请求中的信令跟踪 参数确定需要将所述网元设备上报的信令消息保存为信令文件时,将所述网元设备上报 的信令消息写成信令文件并保存至磁盘中;和 /或 ,将网元设备上报的信令消息保存至数 据库中。  Preferably, the foregoing process may further include the following steps: when the signaling tracking server determines, according to the signaling tracking parameter in the signaling request, that the signaling message reported by the network element device needs to be saved as a signaling file, The signaling message reported by the network element device is written into the signaling file and saved to the disk; and/or the signaling message reported by the network element device is saved in the database.
为对本发明技术方案进行详细的描述, 本发明实施例以图 2信令跟踪服务器为例, 对本发明技术方案实现信令跟踪进行详细的描述。  In order to describe the technical solution of the present invention in detail, the embodiment of the present invention takes the signaling tracking server of FIG. 2 as an example, and implements signaling tracking according to the technical solution of the present invention.
参见图 5 , 为本发明实施例中信令跟踪服务器启动信令跟踪时的业务逻辑流程示意 图, 该方法包括:  FIG. 5 is a schematic diagram of a service logic flow when a signaling tracking server initiates signaling tracking according to an embodiment of the present invention, where the method includes:
步骤 501、流程处理单元 21接收信令跟踪客户端发送的信令跟踪请求,该信令跟踪 请求中携带有信令跟踪参数。  Step 501: The process processing unit 21 receives a signaling tracking request sent by the signaling tracking client, where the signaling tracking request carries a signaling tracking parameter.
步骤 502、 流程处理单元 21对所述信令跟踪请求中携带的信令跟踪参数进行解析, 得到信令跟踪过滤参数、 是否自动保存信令文件等配置参数。  Step 502: The process processing unit 21 parses the signaling tracking parameters carried in the signaling tracking request, and obtains configuration parameters such as signaling tracking and filtering parameters, and whether the signaling file is automatically saved.
步骤 503、流程处理单元 21校验解析得到的各项参数是否合法,若不合法执行步骤 504, 否则执行步骤 505。  Step 503: The process processing unit 21 checks whether the parameters obtained by the parsing are legal. If the step 504 is not performed, the step 505 is performed.
步骤 504、流程处理单元 21向信令跟踪客户端发送信令跟踪失败通知消息, 以提示 操作人员启动信令跟踪失败以及具体的失败原因, 并结束流程。  Step 504: The process processing unit 21 sends a signaling tracking failure notification message to the signaling tracking client, to prompt the operator to start the signaling tracking failure and the specific failure reason, and end the process.
步骤 505、流程处理单元 21调用数据库存取单元 27将上次跟踪到的遗留数据清理, 以避免与本次信令跟踪的数据。 Step 505, the flow processing unit 21 calls the database access unit 27 to clean up the last traced legacy data. To avoid data tracking with this signaling.
步骤 506、 流程处理单元 21 建立与网元设备之间用于进行信令跟踪的信令跟踪链 路。  Step 506: The process processing unit 21 establishes a signaling tracking link for performing signaling tracking with the network element device.
步骤 507、流程处理单元 21判断是否已经成功建立信令跟踪链路,若是则执行步骤 508 , 否则执行步骤 504。  Step 507: The process processing unit 21 determines whether the signaling tracking link has been successfully established. If yes, step 508 is performed; otherwise, step 504 is performed.
步骤 508、流程处理单元 21通过一般业务链路向网元设备发送信令跟踪指令,并接 收网元设备返回的信令跟踪链路建立成功或失败的响应消息。  Step 508: The process processing unit 21 sends a signaling tracking instruction to the network element device by using a general service link, and receives a response message that the signaling returned by the network element device establishes a success or failure of the link establishment.
步骤 509、流程处理单元 21判断网元设备返回的响应消息是否表示信令跟踪链路建 立成功, 若是则执行步骤 511 , 否则执行步骤 510。  Step 509: The process processing unit 21 determines whether the response message returned by the network element device indicates that the signaling tracking link is successfully established. If yes, step 511 is performed; otherwise, step 510 is performed.
步骤 510、 流程处理单元 21断开一次所述信令跟踪链路。  Step 510: The process processing unit 21 disconnects the signaling tracking link once.
步骤 511、 流程处理单元 21启动信令监听单元 22; 信令监听单元 22监听网元设备 上报的消息 (消息可包括心跳消息、 信令消息等)。  Step 511: The process processing unit 21 starts the signaling intercepting unit 22; the signaling monitoring unit 22 listens to the message reported by the network element device (the message may include a heartbeat message, a signaling message, etc.).
步骤 512、 信令监听单元 22在监听到网元设备上报消息时, 启动流水号生成单元 23; 流水号生成单元 23为监听到的消息生成唯一对应的消息流水号。  Step 512: The signaling interception unit 22 starts the serial number generating unit 23 when the network element device reports the message, and the serial number generating unit 23 generates a unique corresponding message serial number for the monitored message.
步骤 513、流程处理单元 21启动心跳检测单元 30;心跳检测单元 30定时检测消息, 判断信令跟踪链路的当前状态。  Step 513: The flow processing unit 21 starts the heartbeat detecting unit 30. The heartbeat detecting unit 30 periodically detects the message and determines the current state of the signaling tracking link.
步骤 514、流程处理单元 21根据所述信令跟踪参数确定是否需要将网元设备上报的 信令消息自动保存成文件, 若是则执行步骤 515 , 否则执行步骤 516。  Step 514: The process processing unit 21 determines, according to the signaling tracking parameter, whether the signaling message reported by the network element device needs to be automatically saved into a file. If yes, go to step 515; otherwise, go to step 516.
步骤 515、 流程处理单元 21通过信令文件读写单元 28将所述网元设备上报的信令 消息生成文件, 并保存该生成的文件。  Step 515: The flow processing unit 21 generates a file by using the signaling file read/write unit 28 to report the signaling message reported by the network element device, and saves the generated file.
步骤 516、流程处理单元 21向信令跟踪客户端发送信令跟踪成功通知消息,并结束 流程。  Step 516: The process processing unit 21 sends a signaling tracking success notification message to the signaling tracking client, and ends the process.
参见图 6, 为本发明实施例中信令跟踪服务器在接收到信令跟踪客户端发送的信令 跟踪停止指令时的业务逻辑流程示意图, 该流程包括:  FIG. 6 is a schematic diagram of a service logic flow when a signaling tracking server receives a signaling tracking stop command sent by a signaling tracking client according to an embodiment of the present disclosure, where the process includes:
步骤 601、 流程处理单元 21接收信令跟踪客户端发送的信令跟踪停止请求。  Step 601: The process processing unit 21 receives the signaling tracking stop request sent by the signaling tracking client.
步骤 602、流程处理单元 21断开信令跟踪链路,停止接收网元设备上报的信令消息。 步骤 603、 流程处理单元 21控制信令监听单元 22停止监听上报消息。  Step 602: The process processing unit 21 disconnects the signaling tracking link, and stops receiving the signaling message reported by the network element device. Step 603: The flow processing unit 21 controls the signaling interception unit 22 to stop monitoring the reported message.
步骤 604、 流程处理单元 21控制心跳检测单元 30停止检测信令跟踪链路状态。 步骤 605、 流程处理单元 21控制流水号生成单元 23停止为上报的信令消息生成唯 一对应的消息流水号。 步骤 606、 流程处理单元 21调用数据库存取单元 27, 并将数据緩存中尚未存入数 据库的数据保存到数据库中。 Step 604: The flow processing unit 21 controls the heartbeat detecting unit 30 to stop detecting the signaling tracking link state. Step 605: The flow processing unit 21 controls the serial number generating unit 23 to stop generating a unique corresponding message serial number for the reported signaling message. Step 606, the flow processing unit 21 calls the database access unit 27, and saves the data in the data cache that has not been stored in the database into the database.
步骤 607、流程处理单元 21针对数据緩存中未存入数据库中的各数据对应的配置参 数。  Step 607: The process processing unit 21 is configured for a configuration parameter corresponding to each data in the data cache that is not stored in the database.
步骤 608、流程处理单元 21针对步骤 607中的每条数据,根据该条数据的配置参数 确定是否需要将该条数据自动保存成文件若是则执行步骤 609 , 否则执行步骤 610。  Step 608: The process processing unit 21 determines, according to the configuration parameter of the piece of data, whether the piece of data needs to be automatically saved into a file according to the configuration parameter of the piece of data. If yes, step 609 is performed; otherwise, step 610 is performed.
步骤 609、 流程处理单元 21调用信令文件读写单元 28 , 将緩存中尚未保存到信令 文件中的数据写入到信令文件中。  Step 609, the flow processing unit 21 calls the signaling file read/write unit 28, and writes the data in the cache that has not been saved in the signaling file into the signaling file.
步骤 610、 流程处理单元 21通过一般业务链路向网元设备发送信令跟踪停止请求, 并接收网元设备返回的用于表示信令跟踪停止的操作结果。  Step 610: The process processing unit 21 sends a signaling tracking stop request to the network element device by using a general service link, and receives an operation result returned by the network element device to indicate that the signaling tracking stops.
步骤 611、流程处理单元 21将网元设备返回的用于表示信令跟踪停止的操作结果发 送给信令跟踪客户端, 以提示信令跟踪客户端结束流程。  Step 611: The process processing unit 21 sends the operation result returned by the network element device to indicate that the signaling tracking is stopped, to the signaling tracking client, to prompt the signaling tracking client to end the process.
参见图 7, 为本发明实施例中信令跟踪服务器在接收到网元设备返回的信令消息时 的业务逻辑流程示意图, 该流程包括:  FIG. 7 is a schematic diagram of a service logic flow when a signaling tracking server receives a signaling message returned by a network element device according to an embodiment of the present disclosure, where the process includes:
步骤 701、 信令监听单元 22监听网元设备上报的消息。  Step 701: The signaling interception unit 22 listens to the message reported by the network element device.
步骤 702、 信令监听单元 22调用流水号生成单元 23为所述网元设备上报的每一条 消息生成唯一对应的消息流水号。  Step 702: The signaling interception unit 22 calls the serial number generating unit 23 to generate a unique corresponding message serial number for each message reported by the network element device.
步骤 703、信令监听单元 22判断网元设备上报的消息是否为信令消息,若是则执行 步骤 704, 否则确定上报的消息为心跳消息并结束流程。  Step 703: The signaling intercepting unit 22 determines whether the message reported by the network element device is a signaling message, and if yes, performs step 704, otherwise determines that the reported message is a heartbeat message and ends the process.
步骤 704、 信令监听单元 22调用流水号生成单元 23为信令消息生成唯一对应的信 令序列号。  Step 704: The signaling interception unit 22 invokes the serial number generating unit 23 to generate a unique corresponding signaling sequence number for the signaling message.
步骤 705、信令监听单元 22将信令消息及其信令序列号组织成信令结构插入到数据 緩存中, 并结束流程。  Step 705: The signaling intercepting unit 22 organizes the signaling message and its signaling sequence number into a signaling structure, inserts into the data buffer, and ends the process.
参见图 8 , 为本发明实施例中信令跟踪服务器对数据緩存中的消息进行调度处理的 业务逻辑流程示意图, 该流程包括:  FIG. 8 is a schematic diagram of a service logic flow of a signaling tracking server scheduling a message in a data cache according to an embodiment of the present invention, where the process includes:
步骤 801、 信令监听单元 22向数据緩存中插入一条信令消息。  Step 801: The signaling intercepting unit 22 inserts a signaling message into the data buffer.
步骤 802、 数据緩存中的緩存计数器加 1。  Step 802, the cache counter in the data cache is incremented by one.
步骤 803、 数据緩存中的总信令数据容量计数器加 1。  Step 803: The total signaling data capacity counter in the data buffer is incremented by one.
步骤 804、数据緩存单元 25根据緩存计数器的计数值,判断数据緩存中信令数据量 是否超过緩存容量, 若是则执行步骤 805 , 否则结束流程。 步骤 805、 数据緩存单元 25启动信令数据调度单元 26, 从数据緩存中提取出至少 一条信令消息。 Step 804: The data buffering unit 25 determines, according to the count value of the buffer counter, whether the amount of signaling data in the data buffer exceeds the buffer capacity. If yes, step 805 is performed; otherwise, the process ends. Step 805, the data buffering unit 25 starts the signaling data scheduling unit 26, and extracts at least one signaling message from the data buffer.
步骤 806、根据信令数据调度单元 26提取出的信令消息的数量,更新緩存计数器的 计数值。  Step 806: Update the count value of the cache counter according to the number of signaling messages extracted by the signaling data scheduling unit 26.
该步骤中, 更新緩存计数器的计数值, 可如下, 将提取信令消息前的緩存计数器的 计数值减去提取的信令消息的数量, 得到的差值确定为緩存计数器更新后的计数值。  In this step, the count value of the buffer counter is updated, and the count value of the buffer counter before the extraction of the signaling message is subtracted from the number of the extracted signaling messages, and the obtained difference value is determined as the count value after the cache counter is updated.
步骤 807、 信令数据调度单元 26调用数据库存取单元 27, 通过数据库存取单元 27 将步骤 805中提取出的信令消息保存至数据库中。  Step 807, the signaling data scheduling unit 26 calls the database access unit 27, and saves the signaling message extracted in step 805 to the database through the database access unit 27.
步骤 808、数据緩存单元 25根据总信令数据容量计数器判断系统中信令数据量是否 超过设置的容量阈值, 若是则执行步骤 809, 否则执行步骤 811。  Step 808: The data buffering unit 25 determines, according to the total signaling data capacity counter, whether the amount of signaling data in the system exceeds the set capacity threshold. If yes, step 809 is performed; otherwise, step 811 is performed.
步骤 809、 数据緩存单元 25调用数据库存取单元 27, 删除数据库中存储时间较早 的一批信令消息。  Step 809: The data cache unit 25 invokes the database access unit 27 to delete a batch of signaling messages stored in the database earlier.
步骤 810、根据数据库存取单元 27删除的信令消息的数量,更新总信令数据容量计 数器的计数值。  Step 810: Update the count value of the total signaling data capacity counter according to the number of signaling messages deleted by the database access unit 27.
该步骤中, 将数据库存取单元 27删除信令消息之前的总信令数据容量计数器计数 值减去删除的信令消息的数量,得到的差值确定为更新后的总信令数据容量计数器的计 数值。  In this step, the database access unit 27 deletes the total signaling data capacity counter count value before the signaling message minus the number of deleted signaling messages, and the obtained difference is determined as the updated total signaling data capacity counter. Count value.
步骤 811、流程处理单元 21从内存中获取信令跟踪参数 , 并根据该信令跟踪参数判 断是否设置了自动保存成信令文件的功能, 若是则执行步骤 812, 否则结束流程。  Step 811: The process processing unit 21 obtains the signaling tracking parameter from the memory, and determines whether the function of automatically saving into the signaling file is set according to the signaling tracking parameter. If yes, step 812 is performed, otherwise the process ends.
步骤 812、文件读写单元 28将步骤 805中提取出的信令消息写成信令文件,并保存 到磁盘中。  Step 812: The file reading and writing unit 28 writes the signaling message extracted in step 805 into a signaling file and saves it to the disk.
步骤 813、 判断系统中保存的信令文件数量是否超过设置的文件数量阈值, 若是则 执行步骤 814, 否则结束流程。  Step 813: Determine whether the number of signaling files saved in the system exceeds the set file number threshold. If yes, execute step 814; otherwise, end the process.
步骤 814、 文件读写单元 28删除存储时间较早的部分信令文件, 并结束流程。 本发明实施例中,一方面, 通过信令跟踪客户端发起信令跟踪请求, 不需要输入一 系列的命令来进行信令跟踪, 因此, 釆用本发明实施例技术方案不需要操作人员必须熟 练掌握人机操作命令, 从而筒化了信令跟踪操作 , 提高了信令跟踪的通用性和筒便性; 另一方面, 信令跟踪请求中携带有信令跟踪参数, 而信令跟踪参数可以包括信令方向、 信令名称、 跟踪范围、 信令详细程度等配置参数, 因此为操作人员进行针对性的信令跟 踪提供了方便, 提高了信令跟踪的有效性; 再一方面, 在保证不影响其他业务的正常运 行的前提下, 通过开辟一条专用链路(信令跟踪链路)进行信令跟踪, 从而避免信令跟 踪占用大量链路带宽而导致不能实时上报信令消息的问题; 最后一方面, 本发明实施例 釆用数据库和信令文件两种数据存储方式, 利用数据库的结构化特性, 方便对信令数据 进行二次过滤、 分析统计等复杂操作, 并且, 为传输信令文件提供便利, 利用信令跟踪 服务端提供的 FTP功能, 可以方便的对跟踪到的信令文件进行下载传输。 Step 814, the file reading and writing unit 28 deletes part of the signaling file whose storage time is earlier, and ends the process. In the embodiment of the present invention, on the one hand, the signaling tracking request is initiated by the signaling tracking client, and a series of commands are not required to perform signaling tracking. Therefore, the technical solution of the embodiment of the present invention does not require the operator to be skilled. Mastering man-machine operation commands, thereby simplifying the signaling tracking operation, improving the versatility and convenience of signaling tracking; on the other hand, the signaling tracking request carries signaling tracking parameters, and the signaling tracking parameters can It includes configuration parameters such as signaling direction, signaling name, tracking range, and signaling detail level. Therefore, it provides convenience for the operator to perform targeted signaling tracking, and improves the effectiveness of signaling tracking. On the other hand, it is guaranteed. Does not affect the normal operation of other businesses On the premise of the line, the signaling is tracked by opening a dedicated link (signaling trace link), so as to avoid the problem that the signaling tracking consumes a large amount of link bandwidth and the signaling message cannot be reported in real time. Finally, the present invention In the embodiment, the database and the signaling file are used for two data storage methods, and the structured features of the database are utilized to facilitate complex operations such as secondary filtering, analysis and statistics on the signaling data, and to facilitate the transmission of the signaling file. The FTP function provided by the tracking server can conveniently download and transmit the traced signaling files.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神 和范围。 这样, 倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围 之内, 则本发明也意图包含这些改动和变型在内。 工业实用性 本发明实施例中, 用户可通过信令跟踪客户端发送信令跟踪请求, 并通过信令跟踪 服务器向网元设备发送信令跟踪指令, 以指示网元设备上报相应的信令消息, 从而实现 了信令跟踪; 由于通过信令跟踪客户端发送信令跟踪请求, 不需要输入一系列的命令来 进行信令跟踪, 因此, 釆用本发明实施例技术方案不需要操作人员必须熟练掌握人机操 作命令, 从而筒化了信令跟踪操作, 提高了信令跟踪的通用性和筒便性; 另外, 信令跟 踪请求中携带有信令跟踪参数, 而信令跟踪参数该可以包括信令方向、 信令名称、 跟踪 范围、 信令详细程度等配置参数, 因此为操作人员进行针对性的信令跟踪提供了方便, 提高了信令跟踪的有效性。  It is apparent that those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and the modifications Industrial Applicability In the embodiment of the present invention, a user may send a signaling tracking request by using a signaling tracking client, and send a signaling tracking instruction to the network element device through the signaling tracking server, to instruct the network element device to report the corresponding signaling message. Therefore, the signaling tracking is implemented. Since the signaling tracking request is sent by the client through the signaling, there is no need to input a series of commands to perform signaling tracking. Therefore, the technical solution of the embodiment of the present invention does not require the operator to be skilled. Grasping the man-machine operation command, thereby simplifying the signaling tracking operation, improving the versatility and the convenience of the signaling tracking; in addition, the signaling tracking request carries the signaling tracking parameter, and the signaling tracking parameter may include Configuration parameters such as signaling direction, signaling name, tracking range, and signaling detail level provide convenience for the operator to perform targeted signaling tracking and improve the effectiveness of signaling tracking.

Claims

权利要求书 Claim
1、 一种实现信令跟踪的系统, 包括:  1. A system for implementing signaling tracking, comprising:
信令跟踪客户端, 设置为输出信令跟踪请求, 所述信令跟踪请求中携带有信令跟踪 参数;  The signaling tracking client is configured to output a signaling tracking request, where the signaling tracking request carries a signaling tracking parameter;
信令跟踪服务器, 设置为接收所述信令跟踪客户端输出的信令跟踪请求, 并根据所 述信令跟踪请求输出信令跟踪指令;  a signaling tracking server, configured to receive a signaling tracking request output by the signaling tracking client, and output a signaling tracking instruction according to the signaling tracking request;
网元设备 , 设置为接收所述信令跟踪服务器输出的信令跟踪指令, 并根据所述信令 跟踪指令向所述信令跟踪服务器上报相应的携带有所述信令跟踪参数的信令消息。  The network element device is configured to receive the signaling tracking instruction output by the signaling tracking server, and report the corresponding signaling message carrying the signaling tracking parameter to the signaling tracking server according to the signaling tracking instruction. .
2、 如权利要求 1 所述的系统, 其中, 所述信令跟踪服务器还设置为, 在输出信令 跟踪指令之后, 监听所述网元设备是否上报消息;  2. The system according to claim 1, wherein the signaling tracking server is further configured to: after outputting the signaling tracking instruction, monitor whether the network element device reports a message;
在监听到所述网元设备上报信息时, 为上报的每一条消息生成唯一对应的消息流水 号;  When the information reported by the network element device is monitored, a unique corresponding message serial number is generated for each message reported;
所述信令跟踪服务器在监听到所述网元设备上报的消息为信令消息时, 为监听到的 信令消息生成唯一对应的信令序列号, 并根据所述信令消息及其信令序列号生成具有信 令结构的信令消息, 并将该信令消息存储到数据緩存中。  When the signaling tracking server detects that the message reported by the network element device is a signaling message, it generates a unique corresponding signaling sequence number for the intercepted signaling message, and according to the signaling message and its signaling The sequence number generates a signaling message with a signaling structure and stores the signaling message in a data buffer.
3、 如权利要求 2所述的系统, 其中, 所述信令跟踪服务器还设置为, 在确定所述 数据緩存中的信令数据量超过緩存容量时, 从所述数据緩存中提取至少一条信令消息, 并将提取出的所述至少一条信令消息存储至数据库中;  3. The system according to claim 2, wherein the signaling tracking server is further configured to: extract at least one letter from the data cache when determining that the amount of signaling data in the data buffer exceeds a buffer capacity Deleting a message, and storing the extracted at least one signaling message into a database;
所述信令跟踪服务器还设置为,针对提取的所述至少一条信令消息中的每条信令消 息, 根据该条信令消息的信令跟踪参数确定需要保存为信令文件时, 将该条信令消息写 成信令文件并保存到磁盘中。  The signaling tracking server is further configured to, when determining, according to the signaling tracking parameter of the at least one signaling message, the signaling tracking parameter of the signaling message needs to be saved as a signaling file, The strip signaling message is written as a signaling file and saved to disk.
4、 如权利要求 3所述的系统, 其中, 所述信令跟踪服务器还设置为, 将提取出的 所述至少一条信令消息存储至数据库之后,在判断所述数据緩存的数据量超过设置的容 量阈值时, 将所述数据緩存中存储时间较早的至少一条信令消息删除。  4. The system according to claim 3, wherein the signaling tracking server is further configured to: after storing the extracted at least one signaling message to a database, determining that the data amount of the data cache exceeds a setting At least one signaling message with an earlier storage time in the data cache is deleted.
5、 如权利要求 2所述的系统, 其中, 所述信令跟踪服务器还设置为, 当在设定的 时长阈值内未监听到所述网元设备上报消息时, 结束信令跟踪流程。  The system of claim 2, wherein the signaling tracking server is further configured to end the signaling tracking process when the network element device reports the message without being monitored within the set duration threshold.
6、 如权利要求 1 所述的系统, 其中, 所述信令跟踪服务器还设置为, 判断所述信 令跟踪请求中的信令跟踪参数是否合法, 并在不合法时向所述信令跟踪客户端发送信令 跟踪失败通知消息, 在合法且在输出信令跟踪指令之后, 建立与所述网元设备进行信令 跟踪的信令跟踪链路; The system of claim 1, wherein the signaling tracking server is further configured to: determine whether the signaling tracking parameter in the signaling tracking request is legal, and track the signaling when it is illegal. The client sends a signaling tracking failure notification message, and after being legally and after outputting the signaling tracking instruction, establishing signaling with the network element device Tracked signaling trace link;
所述网元设备上报相应的信令消息, 设置为, 通过所述信令跟踪链路上报相应的信 令消息。  The network element device reports the corresponding signaling message, and is configured to report the corresponding signaling message by using the signaling tracking link.
7、 如权利要求 5或 6所述的系统, 其中, 所述信令跟踪客户端还设置为, 向所述 信令跟踪服务器发送信令跟踪停止请求; 所述信令跟踪服务器还设置为, 在接收到所述 信令跟踪客户端发送的所述信令跟踪停止请求时, 断开所述信令跟踪链路;  The system of claim 5 or 6, wherein the signaling tracking client is further configured to send a signaling tracking stop request to the signaling tracking server; the signaling tracking server is further configured to And disconnecting the signaling tracking link when receiving the signaling tracking stop request sent by the signaling tracking client;
所述信令跟踪服务器根据所述信令请求中的信令跟踪参数确定需要将所述网元设 备上报的信令消息保存为信令文件时,将所述网元设备上报的信令消息写成信令文件并 保存到磁盘中; 和 /或, 将所述网元设备上报的信令消息存储至数据库中。  The signaling tracking server determines, according to the signaling tracking parameter in the signaling request, that the signaling message reported by the network element device is to be saved as a signaling file, and the signaling message reported by the network element device is written as The signaling file is saved to the disk; and/or the signaling message reported by the network element device is stored in the database.
8、 如权利要求 1至 6任一所述的系统, 其中, 所述信令跟踪服务器还设置为, 在 接收到所述网元设备上报的信令消息时, 对所述信令消息进行解析, 并根据解析结果生 成表格形式或树状形式的信令消息, 并发送给所述信令跟踪客户端;  The system according to any one of claims 1 to 6, wherein the signaling tracking server is further configured to parse the signaling message when receiving the signaling message reported by the network element device And generating a signaling message in the form of a table or a tree according to the parsing result, and sending the signaling message to the signaling tracking client;
所述信令跟踪客户端还设置为, 显示接收到的表格形式或树状形式的信令消息。 The signaling tracking client is further configured to display the received signaling message in the form of a table or a tree.
9、 一种实现信令跟踪的方法, 包括: 9. A method for implementing signaling tracking, comprising:
信令跟踪服务器接收信令跟踪客户端输出的信令跟踪请求, 并向网元设备输出信令 跟踪指令, 所述信令跟踪请求携带有信令跟踪参数;  The signaling tracking server receives the signaling tracking request output by the signaling tracking client, and outputs a signaling tracking instruction to the network element device, where the signaling tracking request carries a signaling tracking parameter;
所述信令跟踪服务器接收网元设备上报的相应的携带有所述信令跟踪参数的信令 消息。  The signaling tracking server receives a corresponding signaling message that is carried by the network element device and carries the signaling tracking parameter.
10、 如权利要求 9所述的方法, 还包括:  10. The method of claim 9 further comprising:
所述信令跟踪服务器在向网元设备输出信令跟踪指令之后 ,监听所述网元设备是否 上报消息, 并在监听到所述网元设备上报消息时, 为上报的每一条消息生成唯一对应的 消息流水号;  After the signaling tracking instruction is output to the network element device, the signaling tracking server monitors whether the network element device reports a message, and generates a unique correspondence for each message reported when the network element device reports the message. Message flow number;
所述信令跟踪服务器在监听到所述网元设备上报的消息为信令消息时, 为监听到的 信令消息生成唯一对应的信令序列号, 并根据所述信令消息及其信令序列号生成具有信 令结构的信令消息, 并将该信令消息存储到数据緩存中。  When the signaling tracking server detects that the message reported by the network element device is a signaling message, it generates a unique corresponding signaling sequence number for the intercepted signaling message, and according to the signaling message and its signaling The sequence number generates a signaling message with a signaling structure and stores the signaling message in a data buffer.
11、 如权利要求 10所述的方法, 还包括:  11. The method of claim 10, further comprising:
信令跟踪服务器在确定所述数据緩存中的信令数据量超过緩存容量时,从所述数据 緩存中提取至少一条信令消息, 并将提取出的所述至少一条信令消息存储至数据库中; 所述信令跟踪服务器针对提取的所述至少一条信令消息中的每条信令消息,根据该 条信令消息的信令跟踪参数确定需要保存为信令文件时,将该条信令消息写成信令文件 并保存到磁盘中。 The signaling tracking server, when determining that the amount of signaling data in the data buffer exceeds the buffer capacity, extracts at least one signaling message from the data buffer, and stores the extracted at least one signaling message into a database. The signaling tracking server determines, for each signaling message in the extracted at least one signaling message, according to the signaling tracking parameter of the signaling message, when the signaling file needs to be saved as a signaling file, the signaling is Message written as a signaling file And save it to disk.
12、 如权利要求 9、 10或 11所述的方法, 还包括: 所述信令跟踪服务器在向网元 设备输出信令跟踪指令之后 , 建立与所述网元设备进行信令跟踪的信令跟踪链路; 所述信令跟踪服务器通过所述信令跟踪链路接收所述网元设备上报的相应的信令 消息。  12. The method according to claim 9, 10 or 11, further comprising: after the signaling tracking server outputs a signaling tracking instruction to the network element device, establishing signaling signaling with the network element device for signaling tracking Tracking the link; the signaling tracking server receives the corresponding signaling message reported by the network element device by using the signaling tracking link.
13、 如权利要求 12所述的方法, 还包括:  13. The method of claim 12, further comprising:
所述信令跟踪客户端向所述信令跟踪服务器发送信令跟踪停止请求;  Transmitting, by the signaling tracking client, a signaling tracking stop request to the signaling tracking server;
所述信令跟踪服务器在接收到所述信令跟踪客户端发送的所述信令跟踪停止请求 时, 断开所述信令跟踪链路;  The signaling tracking server disconnects the signaling tracking link when receiving the signaling tracking stop request sent by the signaling tracking client;
所述信令跟踪服务器根据所述信令请求中的信令跟踪参数确定需要将所述网元设 备上报的信令消息保存为信令文件时,将所述网元设备上报的信令消息写成信令文件并 保存到磁盘中; 和 /或, 将所述网元设备上报的信令消息存储至数据库中。  The signaling tracking server determines, according to the signaling tracking parameter in the signaling request, that the signaling message reported by the network element device is to be saved as a signaling file, and the signaling message reported by the network element device is written as The signaling file is saved to the disk; and/or the signaling message reported by the network element device is stored in the database.
14、 一种信令跟踪服务器, 包括:  14. A signaling tracking server, comprising:
流程处理单元, 设置为接收携带有信令跟踪参数的信令跟踪请求, 并根据所述信令 跟踪请求输出信令跟踪指令; 以及, 设置为接收网元设备根据所述信令跟踪指令上报的 携带有所述信令跟踪参数的信令消息。  a flow processing unit, configured to receive a signaling tracking request carrying a signaling tracking parameter, and output a signaling tracking instruction according to the signaling tracking request; and configured to receive, by the receiving network element device, the signaling tracking instruction A signaling message carrying the signaling tracking parameter.
15、 如权利要求 14所述的信令跟踪服务器, 还包括:  15. The signaling tracking server of claim 14, further comprising:
信令监听单元, 设置为在所述流程处理单元输出信令跟踪指令之后, 监听所述网元 设备是否上报消息, 并在监听到所述网元设备上报消息时, 启动流水号生成单元; 流水号生成单元,设置为为所述网元设备上报的每一条消息生成唯一对应的消息流 水号。  The signaling monitoring unit is configured to: after the flow processing unit outputs the signaling tracking instruction, monitor whether the network element device reports the message, and start the serial number generating unit when the network element device reports the message; The number generating unit is configured to generate a unique corresponding message serial number for each message reported by the network element device.
16、 如权利要求 14所述的信令跟踪服务器, 还包括数据緩存单元;  16. The signaling tracking server of claim 14, further comprising a data buffer unit;
所述信令监听单元还设置为, 在监听到所述网元设备上报的消息为信令消息时, 启 动所述流水号生成单元; 以及, 根据所述信令消息与所述流水号单元为所述信令消息生 成的信令序列号生成据有信令结构的信令消息, 并将该信令消息存储到数据緩存单元 中;  The signaling intercepting unit is further configured to: when the message reported by the network element device is monitored as a signaling message, start the serial number generating unit; and, according to the signaling message and the serial number unit, The signaling sequence number generated by the signaling message generates a signaling message according to a signaling structure, and stores the signaling message in a data buffer unit;
所述流水号生成单元还设置为, 为监听到的信令消息生成唯一对应的信令序列号。 The serial number generating unit is further configured to generate a unique corresponding signaling sequence number for the monitored signaling message.
17、 如权利要求 16所述的信令跟踪服务器, 还包括信令数据调度单元和数据库存 取单元; 17. The signaling tracking server of claim 16, further comprising a signaling data scheduling unit and a data inventory fetching unit;
所述数据緩存单元还设置为, 在确定所述数据緩存中的信令数据量超过緩存容量 时, 启动所述信令数据调度单元; The data buffer unit is further configured to: determine that the amount of signaling data in the data buffer exceeds a buffer capacity And starting the signaling data scheduling unit;
所述信令数据调度单元, 设置为从所述数据緩存单元中提取至少一条信令消息, 并 启动所述数据库存取单元;  The signaling data scheduling unit is configured to extract at least one signaling message from the data buffer unit, and start the database access unit;
所述数据库存取单元,设置为将所述信令数据调度单元提取的所述至少一条信令消 息存储至数据库中。  The database access unit is configured to store the at least one signaling message extracted by the signaling data scheduling unit into a database.
18、 如权利要求 17所述的信令跟踪服务器, 还包括信令文件读写单元; 所述流程处理单元还设置为,根据所述信令请求中的信令跟踪参数确定需要将所述 网元设备上报的信令消息保存为信令文件时, 启动所述信令文件读写单元;  The signaling tracking server according to claim 17, further comprising a signaling file reading and writing unit; the flow processing unit further configured to determine, according to the signaling tracking parameter in the signaling request, that the network needs to be When the signaling message reported by the meta-device is saved as a signaling file, the signaling file read/write unit is started;
信令文件读写单元,设置为将所述网元设备上报的信令消息写成信令文件并保存到 磁盘中; 和 /或, 将所述网域设备上报的信令消息存储至数据库中。  The signaling file reading and writing unit is configured to write the signaling message reported by the network element device into a signaling file and save it to the disk; and/or, store the signaling message reported by the domain device into the database.
19、 如权利要求 17所述的信令跟踪服务器, 还包括信令数据解析单元; 所述流程处理单元还设置为, 在接收到所述网元设备上报的信令消息时, 启动所述 信令数据解析单元;  The signaling tracking server according to claim 17, further comprising a signaling data parsing unit; the flow processing unit is further configured to: start the signaling when receiving the signaling message reported by the network element device Data parsing unit
所述信令数据解析单元, 设置为对所述信令消息进行解析, 并根据解析结果生成表 格形式或树状形式的信令消息, 并发送给所述信令跟踪客户端。  The signaling data parsing unit is configured to parse the signaling message, and generate a signaling message in the form of a table or a tree according to the parsing result, and send the signaling message to the signaling tracking client.
20、 如权利要求 14至 19任一所述的信令跟踪服务器, 还包括心跳检测单元; 所述流程处理单元还设置为, 在输出信令跟踪指令之后 , 建立与所述网元设备进行 信令跟踪的信令跟踪链路; 以及通过所述信令跟踪链路接收所述网元设备上报的信令消 息;  The signaling tracking server according to any one of claims 14 to 19, further comprising a heartbeat detecting unit, wherein the flow processing unit is further configured to: after outputting the signaling tracking instruction, establish a letter with the network element device And causing the tracked signaling to track the link; and receiving the signaling message reported by the network element device by using the signaling tracking link;
心跳检测单元, 设置为检测所述信令跟踪链路的状态, 并在设定的时长阈值内未检 测到所述网元设备通过所述信令跟踪链路上报信令消息时, 关闭所述信令跟踪链路的业 务逻辑。  a heartbeat detecting unit, configured to detect a state of the signaling tracking link, and to detect, when the network element device does not detect the signaling message through the signaling tracking link, within a set duration threshold, Signaling tracks the business logic of the link.
PCT/CN2012/073106 2011-04-12 2012-03-27 Method, device, and system that enable signaling tracking WO2012139462A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110090732.0 2011-04-12
CN2011100907320A CN102739465A (en) 2011-04-12 2011-04-12 Method for realizing signaling tracking, apparatus and system thereof

Publications (1)

Publication Number Publication Date
WO2012139462A1 true WO2012139462A1 (en) 2012-10-18

Family

ID=46994295

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/073106 WO2012139462A1 (en) 2011-04-12 2012-03-27 Method, device, and system that enable signaling tracking

Country Status (2)

Country Link
CN (1) CN102739465A (en)
WO (1) WO2012139462A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105592427A (en) * 2014-11-12 2016-05-18 北京信威通信技术股份有限公司 Method for realizing signaling tracking of communication network element

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105656650A (en) * 2014-11-13 2016-06-08 中兴通讯股份有限公司 Timing tracking method and element management system (EMS)
CN105657686A (en) * 2014-11-17 2016-06-08 中兴通讯股份有限公司 Method and device for optimizing tracking reliability of user equipment
CN109474386B (en) * 2018-10-11 2021-11-23 京信网络系统股份有限公司 Signaling tracking method, system, network element equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859165A (en) * 2005-10-22 2006-11-08 华为技术有限公司 Method and system for service tracking
CN1870532A (en) * 2006-01-06 2006-11-29 华为技术有限公司 Signalling tracking method and system
CN101232691A (en) * 2007-01-24 2008-07-30 中兴通讯股份有限公司 Method and apparatus for tracing signaling

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859165A (en) * 2005-10-22 2006-11-08 华为技术有限公司 Method and system for service tracking
CN1870532A (en) * 2006-01-06 2006-11-29 华为技术有限公司 Signalling tracking method and system
CN101232691A (en) * 2007-01-24 2008-07-30 中兴通讯股份有限公司 Method and apparatus for tracing signaling

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105592427A (en) * 2014-11-12 2016-05-18 北京信威通信技术股份有限公司 Method for realizing signaling tracking of communication network element

Also Published As

Publication number Publication date
CN102739465A (en) 2012-10-17

Similar Documents

Publication Publication Date Title
EP2011013B1 (en) Merging multi-line log entries
WO2019228034A1 (en) Method and apparatus for data synchronization
CN104142784B (en) The interim storage method and apparatus of input content
CN109936621B (en) Information security multi-page message pushing method, device, equipment and storage medium
CN105373899A (en) Server asset management method and apparatus
CN102497427A (en) Method and device for realizing data acquisition services of renewable energy source monitoring system
CN101291342A (en) Data synchronizing method and system in distributed system
US20140357198A1 (en) System and method for locating a mobile device
CN103490978A (en) Terminal, server and message monitoring method
WO2012139462A1 (en) Method, device, and system that enable signaling tracking
WO2022151815A1 (en) Method and apparatus for determining security state of terminal device
CN105812405B (en) A kind of method, apparatus and system handling message
CN108134713A (en) A kind of communication means and device
CN106210032A (en) The method and device reported based on terminal data batch
WO2017059778A1 (en) Method, device and system for detecting shell website
CN103297937A (en) Method, system and device for achieving short message notification
US20140115112A1 (en) Server system and message processing method thereof
CN109088872A (en) Application method, device, electronic equipment and the medium of cloud platform with service life
CN108847949A (en) Message informing method, device, electronic equipment and storage medium based on cloud platform
US8498622B2 (en) Data processing system with synchronization policy
CN113852610B (en) Message processing method, device, computer equipment and storage medium
CN116048846A (en) Data transmission method, device, equipment and storage medium
CN110858813A (en) Network camera safety detection method and device
CN101827068A (en) Business scenario reduction method and device
CN106933718B (en) Method for monitoring performance and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12771172

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12771172

Country of ref document: EP

Kind code of ref document: A1