CN116260742A - Signaling capturing method and device, nonvolatile storage medium and electronic equipment - Google Patents

Signaling capturing method and device, nonvolatile storage medium and electronic equipment Download PDF

Info

Publication number
CN116260742A
CN116260742A CN202211711833.XA CN202211711833A CN116260742A CN 116260742 A CN116260742 A CN 116260742A CN 202211711833 A CN202211711833 A CN 202211711833A CN 116260742 A CN116260742 A CN 116260742A
Authority
CN
China
Prior art keywords
target
signaling
signaling data
configuration information
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211711833.XA
Other languages
Chinese (zh)
Inventor
陈龙
刘翔
徐福燕
宋洁瑜
陈淼生
郭思超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN202211711833.XA priority Critical patent/CN116260742A/en
Publication of CN116260742A publication Critical patent/CN116260742A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/12Network monitoring probes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a signaling capturing method, a signaling capturing device, a nonvolatile storage medium and electronic equipment. Wherein the method comprises the following steps: acquiring a signaling capture request provided by a management platform, wherein the device signaling capture request is used for indicating to acquire target signaling data indicated by a target identifier; responding to the device signaling capturing request, and controlling the cache middleware to release target configuration information for capturing device target signaling data; receiving device target signaling data provided by a signaling gateway according to the device target configuration information; and storing the device target signaling data to a target database. The invention solves the technical problem of low efficiency of traditional signaling capture.

Description

Signaling capturing method and device, nonvolatile storage medium and electronic equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a signaling capturing method, a signaling capturing device, a nonvolatile storage medium, and an electronic device.
Background
In the field of voice application, the traditional signaling data capturing method has the defects that when a signaling message is required to capture packets, a tcpdump method is generally used for capturing packets of a network card, or a sngrep tool is used for carrying out signaling tracking and analysis of a designated number on a server, the two methods are used for storing the captured packet data in the form of a message file finally, and the message is checked and analyzed through a wireframe tool.
However, when the specified number message is required to be grabbed, an engineer with certain experience is required to capture the message on the server in a tcpdump or sntrep mode; the tcpdump cannot capture the message aiming at the designated number, and the message file generated by capturing the packet is quite huge in the call peak period; the sngrep can capture the message aiming at the designated number, but the occupied CPU and memory can be continuously increased along with the increase of time, and the message can only be stored in the form of a message file, and the message data is checked and analyzed through the wirehierarchy, so that the cloud storage and the history backtracking cannot be realized.
For the above-mentioned problem of inefficiency of conventional signaling acquisition, no effective solution has been proposed at present.
Disclosure of Invention
The embodiment of the invention provides a signaling capturing method, a device, a nonvolatile storage medium and electronic equipment, which are used for at least solving the technical problem of low efficiency of traditional signaling capturing.
According to an aspect of an embodiment of the present invention, there is provided a signaling acquisition method, including: acquiring a signaling capture request provided by a management platform, wherein the signaling capture request is used for indicating to acquire target signaling data indicated by a target identifier; responding to the signaling capturing request, and controlling the cache middleware to release target configuration information for capturing the target signaling data; receiving the target signaling data provided by the signaling gateway according to the target configuration information; and storing the target signaling data into a target database.
Optionally, in response to the signaling capture request, controlling the caching middleware to issue target configuration information for capturing the target signaling data includes: extracting the target identifier from the signaling acquisition request; generating target configuration information for capturing the target signaling data according to the target identifier; and controlling the cache middleware to release the target configuration information according to a preset format.
Optionally, after the control cache middleware issues the target configuration information for capturing the target signaling data in response to the signaling capture request, the method further includes: subscribing the publishing information of the cache middleware, wherein the publishing information carries target configuration information; and updating the target configuration information into the memory of the current example.
Optionally, before receiving the target signaling data provided by the signaling gateway according to the target configuration information, the method further includes: and controlling the management platform to inform the signaling gateway to update a target signaling synchronization function according to the target configuration information, wherein the target signaling synchronization function is used for indicating the signaling gateway to screen the target signaling data according to the target identifier.
Optionally, receiving the target signaling data provided by the signaling gateway according to the target configuration information includes: receiving a signaling data packet provided by the signaling gateway based on a preset protocol, wherein the signaling data packet at least comprises the target signaling data encrypted according to the preset protocol; and analyzing the preset protocol for the signaling data packet to acquire the target signaling data.
Optionally, after receiving the target signaling data provided by the signaling gateway according to the target configuration information, the method further includes: converting the target signaling data into target message data in a preset format; delivering the target message data to a target message queue; batch consumption is carried out on the target message queue, and queue message data of the target message queue are obtained; and storing the queue message data to the target database in batches.
Optionally, after storing the target signaling data in a target database, the method further comprises: controlling the management platform to screen at least one target signaling data indicated by the target identifier in the target database according to a preset time period; acquiring target time information of each piece of target signaling data, wherein the target time information is used for identifying generation time of the target signaling data; and arranging at least one piece of target signaling data according to the sequence of the target time information.
According to another aspect of the embodiment of the present invention, there is also provided a signaling capturing apparatus, including: the acquisition module is used for acquiring a signaling acquisition request provided by the management platform, wherein the signaling acquisition request is used for indicating acquisition of target signaling data indicated by the target identifier; the response module is used for responding to the signaling capture request and controlling the cache middleware to release target configuration information for capturing the target signaling data; the receiving module is used for receiving the target signaling data provided by the signaling gateway according to the target configuration information; and the storage module is used for storing the target signaling data to a target database.
According to another aspect of the embodiment of the present invention, there is further provided a nonvolatile storage medium, where a program is stored, where when the program runs, a device where the nonvolatile storage medium is controlled to execute the signaling capturing method described above.
According to another aspect of the embodiment of the present invention, there is also provided an electronic device, including: the device comprises a memory and a processor, wherein the processor is used for running a program stored in the memory, and the signaling capturing method is executed when the program runs.
In the embodiment of the invention, a signaling capture request provided by a management platform is acquired, wherein the signaling capture request is used for indicating acquisition of target signaling data indicated by a target identifier; responding to the signaling capturing request, and controlling the caching middleware to release target configuration information for capturing target signaling data; receiving target signaling data provided by a signaling gateway according to target configuration information; and storing the target signaling data into a target database, so that the target signaling data indicated by the target identification can be queried from the target database under the condition that the target signaling data is required, and the target database is used for replacing the traditional log or file archiving mode, so that the signaling data is subjected to cloud storage, the storage pressure of a server is reduced, the retrieval efficiency is improved, the technical effect of improving the signaling capturing efficiency is realized, and the technical problem of low efficiency of the traditional signaling capturing is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation on the invention. In the drawings:
Fig. 1 is a flow chart of a signaling acquisition method according to an embodiment of the invention;
fig. 2 is a schematic diagram of a signaling acquisition system according to an embodiment of the invention;
FIG. 3 is a schematic diagram of obtaining a user input number according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a timing diagram according to an embodiment of the invention;
fig. 5 is a schematic diagram of a signaling acquisition procedure according to an embodiment of the invention;
fig. 6 is a schematic diagram of program code for a signaling acquisition procedure according to an embodiment of the invention;
fig. 7 is a schematic diagram of a signaling capture device according to an embodiment of the invention;
fig. 8 is a block diagram of a computer terminal according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In accordance with an embodiment of the present invention, a signaling capture method embodiment is provided, it being noted that the steps shown in the flowchart of the figures may be performed in a computer system, such as a set of computer executable instructions, and, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in an order other than that shown or described herein.
Fig. 1 is a flowchart of a signaling acquisition method according to an embodiment of the present invention, as shown in fig. 1, the method includes the steps of:
step S102, a signaling capture request provided by a management platform is obtained, wherein the signaling capture request is used for indicating to obtain target signaling data indicated by a target identifier;
step S104, responding to the signaling capturing request, controlling the cache middleware to release target configuration information for capturing target signaling data;
step S106, receiving target signaling data provided by the signaling gateway according to the target configuration information;
step S108, storing the target signaling data in a target database.
In the embodiment of the invention, a signaling capture request provided by a management platform is acquired, wherein the signaling capture request is used for indicating acquisition of target signaling data indicated by a target identifier; responding to the signaling capturing request, and controlling the caching middleware to release target configuration information for capturing target signaling data; receiving target signaling data provided by a signaling gateway according to target configuration information; and storing the target signaling data into a target database, so that the target signaling data indicated by the target identification can be queried from the target database under the condition that the target signaling data is required, and the target database is used for replacing the traditional log or file archiving mode, so that the signaling data is subjected to cloud storage, the storage pressure of a server is reduced, the retrieval efficiency is improved, the technical effect of improving the signaling capturing efficiency is realized, and the technical problem of low efficiency of the traditional signaling capturing is solved.
In step S102, the destination identifier may be a communication number, and the destination signaling data is signaling data of the communication number.
Fig. 2 is a schematic diagram of a signaling capturing system according to an embodiment of the present invention, and as shown in fig. 2, the signaling capturing system may perform the signaling capturing method, including: the method comprises the following steps of a management platform, a signaling capture module, a cache middleware, a signaling gateway, a data source (namely a target database) and a message queue (namely a target message queue), wherein the signaling capture system executes the signaling capture method:
step S1, the user inputs a number (namely, a target identifier) and starts signaling capture aiming at the number. The management platform opens the WebSocket link and sends the number information (i.e. the target identifier) to the signaling capturing module.
Fig. 3 is a schematic diagram of acquiring a user input number according to an embodiment of the present invention, as shown in fig. 3, for inputting a target identifier of "18046366669" through a man-machine interface, indicating target signaling data for capturing the target identifier.
Step S2, the signaling capture module receives a WebSocket message event (such as a signaling capture request), updates signaling synchronization state and number filtering configuration (such as target configuration information) in a memory, and uses the publishing function of the cache middleware to publish the configuration information (namely target configuration information) in a JSON format.
Optionally, the format of the configuration information (i.e., the target configuration information) published in JSON format is: { "ctrl": "0", "filenbrlist" [ "number 1", "number 2" ] }, wherein ctrl: indicates whether or not to turn on the signaling synchronization function, 1-on, 0-off; filternbrilist, a list of numbers representing the band filter.
And S3, analyzing the current signaling synchronous state by the signaling capturing module, and informing the management platform of updating the signaling synchronous configuration information (such as target configuration information) of the signaling gateway.
And S4, the signaling capturing module monitors release information in real time by using the subscription function of the caching middleware, and updates configuration content (such as target configuration information) in the release information into the memory of the current instance.
And S5, the management platform informs the signaling gateway of updating the number (such as a target identifier) to be filtered in a SHELL script calling mode, and starts a signaling synchronization function.
And S6, the signaling gateway sends signaling data (such as signaling data packets) to the signaling capture module in a HEP protocol mode.
Optionally, the signaling data (e.g., signaling data packets) is approximately as follows:
"48 45 50 33; message ID HEP3
0D95; 3477 bytes of total message length
00 00 00 01 00 07 02; protocol family 2 (IPv 4)
00 00 00 02 00 07 11; protocol ID 17 (UDP)
00 00 00 07 00 08 13CD; source address port number 5069
00 00 00 08 00 08 13C4; destination address port number 5060
……
……
……
00 00 00 0F 0D 04 49 4E 56 49 54 45 20 73 69 70 3A … …; SIP message INVITE SIP … … ".
Optionally, after parsing in a specific format, the target signaling data is displayed in JSON format as follows: { calid= bb41c210338c2807e6a4c611aa44564d@172.17.65.183, to_user= 059183519908; phone-context= +86, srip=10.15.251.203, protocol family=2, method=invite, to_host=ims.mnc011.mcc460.3 gpp network. user=phone, src port=5069, src_host=10.15.251.203:5069, ua=ericsson MTAS-CXP2010134/1r26d07, from_user= +861846366669, protocol=17, timecones=2022-11-12:23:43:12, cseq=1, dstport=5060, payadtype=1, from_host=fj.is.mnc011.mcc460.3gpnetwork.org, timeusecon=895015, captureid=1, dstp251=10.15.32, dst_host=10.15.251.32:5060, raw= < BLOB > }
Wherein, each parameter has the following meaning: called represents the unique identity of the call; to_user represents called user address; srip denotes a source address; protocol family represents a protocol family, 2 represents IPv4; method represents SIP message method; to_host represents the called user domain name; srcPort represents a source address port number; src_host represents a source address and a port number; ua represents the terminal model; from_user represents the calling subscriber address; protocol denotes protocol ID,17 denotes UDP; timecarriers represents the time when the SIP message occurs; cseq represents the SIP message sequence number; dstPort denotes a destination address port number; payloadType represents a message type, 1 represents SIP; from_host represents the calling subscriber domain name; timeUseconds represents the microsecond value of the SIP message occurrence time; captureId represents the capture client ID; dstep represents a destination address; dst_host represents the destination address and port number; raw represents SIP message content.
And S7, the signaling capture module realizes a HEP protocol analysis function, extracts relevant information to form a call record (namely, analyzes a signaling data packet by a preset protocol to acquire target signaling data), and stores MongoDB (such as a target database).
Optionally, the call record (e.g., target signaling data) contains callid, from_user, from_host, to_user, to_ host, timeSeconds, src _host, dst_ host, ua, protocol.
And S8, the signaling capture module realizes a HEP protocol analysis function, analyzes all the block information to form a JSON format message and delivers the JSON format message to a message queue (namely, converting target signaling data into target message data with a preset format and delivering the target message data to the target message queue).
And S9, the signaling capturing module performs batch consumption on the message queue (such as a target message queue) and stores the JSON message data (such as the queue message data) in batch to MongoDB (such as a target database).
Step S10, after the management platform establishes the WebSocket link, screening call records of a designated number (such as a target identifier) and all corresponding signaling data (i.e. target signaling data) from a MongoDB (such as a target database) at regular intervals, and presenting all signaling (such as target signaling data) in sequence in a time sequence chart mode after a user clicks a call record entry.
Fig. 4 is a schematic diagram of a timing diagram according to an embodiment of the present invention, where, as shown in fig. 4, first target signaling data displayed at a first position of a queue includes: the call time is ' 2022-11-22:23:43:12 ', the call object is ' bb41c210338c2807e6a4c611aa44564d@172.17.65.183 ', and the call record is ' +8618046366669@fj.ims.mnc011.mcc640.3gppnetwork.org- >059183519908; phone-context= +86@ims.mnc460.3gppnetwork.org; user=phone "; the second target signaling data displayed at the second location of the queue includes: the call time is ' 2022-11-22:23:43:12 ', the call object is ' 3dd693e020c4d73b6314b6f55bbd009@10.15.251.32 ', and the call record is ' +8618046366669@fj.ims.mnc011.mcc640.3gppnetwork.org- >059183519908; phone-context= +86@ims.mnc460.3gppnetwork.org; user=phone).
As an alternative embodiment, in response to the signaling capture request, controlling the caching middleware to issue target configuration information for capturing target signaling data includes: extracting a target identifier from the signaling capture request; generating target configuration information for capturing target signaling data according to the target identification; and controlling the cache middleware to release the target configuration information according to a preset format.
Fig. 5 is a schematic diagram of a signaling capture procedure according to an embodiment of the present invention, as shown in fig. 5, showing a flow chart for acquiring target signaling data of "10.242.118.96_5060" and "5.1.163.8_5084", and showing a flow chart for acquiring target signaling data between "10.15.251.203_5069" and "10.15.251.32_5084".
Fig. 6 is a schematic diagram of program code for a signaling acquisition procedure according to an embodiment of the present invention, as shown in fig. 6, representing program code for acquiring "10.242.118.96:5060- >5.1.163.8:5084" target signaling data, and program code for acquiring "10.15.251.203:5069- >10.15.251.32:5060" target signaling data.
As an alternative embodiment, after the control cache middleware issues the target configuration information for capturing the target signaling data in response to the signaling capture request, the method further includes: subscribing to release information of the cache middleware, wherein the release information carries target configuration information; and updating the target configuration information into the memory of the current example.
According to the embodiment of the invention, the cache middleware has a subscription function, the release information of the cache middleware can be tried and monitored by utilizing the subscription function of the cache middleware, the target configuration information carried in the release information is updated to the memory of the current instance, and the target signaling data can be captured according to the target configuration information.
As an alternative embodiment, before receiving the target signaling data provided by the signaling gateway according to the target configuration information, the method further comprises: the control management platform informs the signaling gateway to update the target signaling synchronization function according to the target configuration information, wherein the target signaling synchronization function is used for indicating the signaling gateway to screen target signaling data according to the target identification.
According to the embodiment of the invention, the signaling gateway can acquire the target configuration information from the release information of the cache middleware according to the notification of the control management platform, and update the target signaling synchronization function of the signaling gateway according to the target configuration information, so that the signaling gateway can screen target signaling data according to the target identification in the target configuration information, and the screening of the target signaling data is realized.
As an alternative embodiment, receiving the target signaling data provided by the signaling gateway according to the target configuration information includes: receiving a signaling data packet provided by a signaling gateway based on a preset protocol, wherein the signaling data packet at least comprises target signaling data encrypted according to the preset protocol; and analyzing the signaling data packet by a preset protocol to acquire target signaling data.
According to the embodiment of the invention, the signaling gateway can encrypt the captured target signaling data according to the preset protocol to generate the signaling data packet, and further after receiving the signaling data packet provided by the signaling gateway, the signaling gateway analyzes the preset protocol to obtain the target signaling data from the signaling data packet by decryption.
Alternatively, the signaling data packet may be a set of signaling data captured by the signaling gateway, where the signaling data includes at least the target signaling data.
Alternatively, the preset protocol may be a HEP protocol, and the preset format may be a JSON format.
As an alternative embodiment, after receiving the target signaling data provided by the signaling gateway according to the target configuration information, the method further comprises: converting the target signaling data into target message data in a preset format; delivering the target message data to a target message queue; batch consumption is carried out on the target message queue, and queue message data of the target message queue are obtained; and storing the queue message data in batches to a target database.
According to the embodiment of the invention, after the target signaling data are converted into the target message data in the preset format, batch consumption can be carried out on the target message queue, and the queue message data in the JSON format are stored in the target database in batches, so that the queue message data consumed by the target message queue are stored.
As an alternative embodiment, after storing the target signaling data in the target database, the method further comprises: the control management platform screens at least one target signaling data indicated by the target identification in the target database according to a preset time period; acquiring target time information of each target signaling data, wherein the target time information is used for identifying generation time of the target signaling data; and arranging at least one target signaling data according to the sequence of the target time information.
According to the embodiment of the invention, the control management platform can present a plurality of target signaling data according to the time sequence in a time sequence diagram mode, so that the display of the target signaling data is realized.
The signaling capturing method provided by the invention can reduce the limitation of the professional of engineers, realizes the signaling message capturing function of the designated number through simple page operation, and checks and analyzes the message data on line in a time sequence diagram mode; and cloud storage and historical data backtracking viewing are realized on the captured signaling message.
According to the signaling capturing method provided by the invention, each functional module in the real-time signaling capturing system is independent, so that the platform can expand and contract the module according to telephone traffic, and the platform has more flexible scalability, and distributed deployment is realized; the complexity of the operation of signaling capturing and analyzing is reduced by the real-time signaling capturing system, so that the method is more popular; and by introducing middleware of MongoDB (such as a target database) and RabbitMQ (such as a target message queue), the traditional log or file archiving mode is replaced, so that the cloud storage of the signaling data is realized, the storage pressure of a server is reduced, and the retrieval efficiency is improved.
According to the embodiment of the present invention, there is also provided an embodiment of a signaling capturing device, where it should be noted that the signaling capturing device may be used to perform the signaling capturing method in the embodiment of the present invention, and the signaling capturing method in the embodiment of the present invention may be performed in the signaling capturing device.
Fig. 7 is a schematic diagram of a signaling capture device according to an embodiment of the invention, as shown in fig. 7, the device may include: an obtaining module 72, configured to obtain a signaling capture request provided by the management platform, where the signaling capture request is used to indicate to obtain target signaling data indicated by the target identifier; a response module 74, configured to control the caching middleware to issue target configuration information for capturing target signaling data in response to the signaling capture request; a receiving module 76, configured to receive target signaling data provided by the signaling gateway according to the target configuration information; a storage module 78 for storing the target signaling data to a target database.
It should be noted that, the acquiring module 72 in this embodiment may be used to perform step S102 in the embodiment of the present application, the responding module 74 in this embodiment may be used to perform step S104 in the embodiment of the present application, the receiving module 76 in this embodiment may be used to perform step S106 in the embodiment of the present application, and the storing module 78 in this embodiment may be used to perform step S108 in the embodiment of the present application. The above modules are the same as examples and application scenarios implemented by the corresponding steps, but are not limited to what is disclosed in the above embodiments.
In the embodiment of the invention, a signaling capture request provided by a management platform is acquired, wherein the signaling capture request is used for indicating acquisition of target signaling data indicated by a target identifier; responding to the signaling capturing request, and controlling the caching middleware to release target configuration information for capturing target signaling data; receiving target signaling data provided by a signaling gateway according to target configuration information; and storing the target signaling data into a target database, so that the target signaling data indicated by the target identification can be queried from the target database under the condition that the target signaling data is required, and the target database is used for replacing the traditional log or file archiving mode, so that the signaling data is subjected to cloud storage, the storage pressure of a server is reduced, the retrieval efficiency is improved, the technical effect of improving the signaling capturing efficiency is realized, and the technical problem of low efficiency of the traditional signaling capturing is solved.
As an alternative embodiment, the response module includes: an extracting unit, configured to extract a target identifier from the signaling acquisition request; the generating module is used for generating target configuration information for capturing target signaling data according to the target identification; and the release module is used for controlling the cache middleware to release the target configuration information according to a preset format.
As an alternative embodiment, the apparatus further comprises: the subscription sub-module is used for subscribing the release information of the caching middleware after responding to the signaling capture request and controlling the caching middleware to release the target configuration information for capturing the target signaling data, wherein the release information carries the target configuration information; and the first updating sub-module is used for updating the target configuration information into the memory of the current example.
As an alternative embodiment, the apparatus further comprises: and the second updating sub-module is used for controlling the management platform to inform the signaling gateway to update the target signaling synchronization function according to the target configuration information before receiving the target signaling data provided by the signaling gateway according to the target configuration information, wherein the target signaling synchronization function is used for indicating the signaling gateway to screen the target signaling data according to the target identification.
As an alternative embodiment, the receiving module includes: the receiving module is used for receiving a signaling data packet provided by the signaling gateway based on a preset protocol, wherein the signaling data packet at least comprises target signaling data encrypted according to the preset protocol; and the analysis module is used for analyzing the preset protocol of the signaling data packet and acquiring target signaling data.
As an alternative embodiment, the apparatus further comprises: the conversion sub-module is used for converting the target signaling data into target message data in a preset format after receiving the target signaling data provided by the signaling gateway according to the target configuration information; a delivery sub-module for delivering the target message data to a target message queue; the consumption submodule is used for carrying out batch consumption on the target message queue and obtaining the queue message data of the target message queue; and the storage sub-module is used for storing the queue message data to the target database in batches.
As an alternative embodiment, the apparatus further comprises: the screening sub-module is used for controlling the management platform to screen at least one target signaling data indicated by the target identification in the target database according to a preset time period after the target signaling data are stored in the target database; the acquisition sub-module is used for acquiring target time information of each target signaling data, wherein the target time information is used for identifying the generation time of the target signaling data; and the arrangement sub-module is used for arranging at least one target signaling data according to the sequence of the target time information.
Embodiments of the present invention may provide a computer terminal, which may be any one of a group of computer terminals. Alternatively, in the present embodiment, the above-described computer terminal may be replaced with a terminal device such as a mobile terminal.
Alternatively, in this embodiment, the above-mentioned computer terminal may be located in at least one network device among a plurality of network devices of the computer network.
In this embodiment, the above-mentioned computer terminal may execute the program code for the following steps in the signaling capturing method: acquiring a signaling capture request provided by a management platform, wherein the signaling capture request is used for indicating to acquire target signaling data indicated by a target identifier; responding to the signaling capturing request, and controlling the caching middleware to release target configuration information for capturing target signaling data; receiving target signaling data provided by a signaling gateway according to target configuration information; the target signaling data is stored to a target database.
Alternatively, fig. 8 is a block diagram of a computer terminal according to an embodiment of the present invention. As shown in fig. 8, the computer terminal 80 may include: one or more (only one is shown) processors 82, and a memory 84.
The memory may be used to store software programs and modules, such as program instructions/modules corresponding to the signaling capturing method and apparatus in the embodiments of the present invention, and the processor executes the software programs and modules stored in the memory, thereby executing various functional applications and data processing, that is, implementing the signaling capturing method described above. The memory may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory may further include memory remotely located relative to the processor, which may be connected to the terminal 80 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The processor may call the information and the application program stored in the memory through the transmission device to perform the following steps: acquiring a signaling capture request provided by a management platform, wherein the signaling capture request is used for indicating to acquire target signaling data indicated by a target identifier; responding to the signaling capturing request, and controlling the caching middleware to release target configuration information for capturing target signaling data; receiving target signaling data provided by a signaling gateway according to target configuration information; the target signaling data is stored to a target database.
Optionally, the above processor may further execute program code for: extracting a target identifier from the signaling capture request; generating target configuration information for capturing target signaling data according to the target identification; and controlling the cache middleware to release the target configuration information according to a preset format.
Optionally, the above processor may further execute program code for: after responding to a signaling capturing request, controlling the cache middleware to publish target configuration information for capturing target signaling data, subscribing the publishing information of the cache middleware, wherein the publishing information carries the target configuration information; and updating the target configuration information into the memory of the current example.
Optionally, the above processor may further execute program code for: before receiving target signaling data provided by the signaling gateway according to the target configuration information, the control management platform informs the signaling gateway to update a target signaling synchronization function according to the target configuration information, wherein the target signaling synchronization function is used for indicating the signaling gateway to screen the target signaling data according to the target identification.
Optionally, the above processor may further execute program code for: receiving a signaling data packet provided by a signaling gateway based on a preset protocol, wherein the signaling data packet at least comprises target signaling data encrypted according to the preset protocol; and analyzing the signaling data packet by a preset protocol to acquire target signaling data.
Optionally, the above processor may further execute program code for: after receiving target signaling data provided by the signaling gateway according to the target configuration information, converting the target signaling data into target message data in a preset format; delivering the target message data to a target message queue; batch consumption is carried out on the target message queue, and queue message data of the target message queue are obtained; and storing the queue message data in batches to a target database.
Optionally, the above processor may further execute program code for: after storing the target signaling data into a target database, the control management platform screens at least one target signaling data indicated by the target identification in the target database according to a preset time period; acquiring target time information of each target signaling data, wherein the target time information is used for identifying generation time of the target signaling data; and arranging at least one target signaling data according to the sequence of the target time information.
The embodiment of the invention provides a signaling capturing scheme. The method comprises the steps of obtaining a signaling capture request provided by a management platform, wherein the signaling capture request is used for indicating to obtain target signaling data indicated by a target identifier; responding to the signaling capturing request, and controlling the caching middleware to release target configuration information for capturing target signaling data; receiving target signaling data provided by a signaling gateway according to target configuration information; and storing the target signaling data into a target database, so that the target signaling data indicated by the target identification can be queried from the target database under the condition that the target signaling data is required, and the target database is used for replacing the traditional log or file archiving mode, so that the signaling data is subjected to cloud storage, the storage pressure of a server is reduced, the retrieval efficiency is improved, the technical effect of improving the signaling capturing efficiency is realized, and the technical problem of low efficiency of the traditional signaling capturing is solved.
It will be appreciated by those skilled in the art that the configuration shown in fig. 8 is only illustrative, and the computer terminal may be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a palm-phone computer, a mobile internet device (Mobile Internet Devices, MID), a PAD, etc. Fig. 8 is not limited to the structure of the electronic device. For example, the computer terminal 8 may also include more or fewer components (e.g., network interfaces, display devices, etc.) than shown in fig. 8, or have a different configuration than shown in fig. 8.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be implemented by a program for instructing a terminal device to execute in association with hardware, the program may be stored in a computer readable storage medium, and the storage medium may include: flash disk, read-Only Memory (ROM), random-access Memory (Random Access Memory, RAM), magnetic or optical disk, and the like.
Embodiments of the present invention also provide a nonvolatile storage medium. Alternatively, in this embodiment, the storage medium may be used to store the program code executed by the signaling capturing method provided in the foregoing embodiment.
Alternatively, in this embodiment, the above-mentioned nonvolatile storage medium may be located in any one of the computer terminals in the computer terminal group in the computer network, or in any one of the mobile terminals in the mobile terminal group.
Optionally, in the present embodiment, the non-volatile storage medium is arranged to store program code for performing the steps of: acquiring a signaling capture request provided by a management platform, wherein the signaling capture request is used for indicating to acquire target signaling data indicated by a target identifier; responding to the signaling capturing request, and controlling the caching middleware to release target configuration information for capturing target signaling data; receiving target signaling data provided by a signaling gateway according to target configuration information; the target signaling data is stored to a target database.
Optionally, in the present embodiment, the non-volatile storage medium is arranged to store program code for performing the steps of: extracting a target identifier from the signaling capture request; generating target configuration information for capturing target signaling data according to the target identification; and controlling the cache middleware to release the target configuration information according to a preset format.
Optionally, in the present embodiment, the non-volatile storage medium is arranged to store program code for performing the steps of: after responding to a signaling capturing request, controlling the cache middleware to publish target configuration information for capturing target signaling data, subscribing the publishing information of the cache middleware, wherein the publishing information carries the target configuration information; and updating the target configuration information into the memory of the current example.
Optionally, in the present embodiment, the non-volatile storage medium is arranged to store program code for performing the steps of: before receiving target signaling data provided by the signaling gateway according to the target configuration information, the control management platform informs the signaling gateway to update a target signaling synchronization function according to the target configuration information, wherein the target signaling synchronization function is used for indicating the signaling gateway to screen the target signaling data according to the target identification.
Optionally, in the present embodiment, the non-volatile storage medium is arranged to store program code for performing the steps of: receiving a signaling data packet provided by a signaling gateway based on a preset protocol, wherein the signaling data packet at least comprises target signaling data encrypted according to the preset protocol; and analyzing the signaling data packet by a preset protocol to acquire target signaling data.
Optionally, in the present embodiment, the non-volatile storage medium is arranged to store program code for performing the steps of: after receiving target signaling data provided by the signaling gateway according to the target configuration information, converting the target signaling data into target message data in a preset format; delivering the target message data to a target message queue; batch consumption is carried out on the target message queue, and queue message data of the target message queue are obtained; and storing the queue message data in batches to a target database.
Optionally, in the present embodiment, the non-volatile storage medium is arranged to store program code for performing the steps of: after storing the target signaling data into a target database, the control management platform screens at least one target signaling data indicated by the target identification in the target database according to a preset time period; acquiring target time information of each target signaling data, wherein the target time information is used for identifying generation time of the target signaling data; and arranging at least one target signaling data according to the sequence of the target time information.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
In the foregoing embodiments of the present invention, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed technology content may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, for example, may be a logic function division, and may be implemented in another manner, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a preferred embodiment of the present invention and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present invention, which are intended to be comprehended within the scope of the present invention.

Claims (10)

1. A signaling acquisition method, comprising:
acquiring a signaling capture request provided by a management platform, wherein the signaling capture request is used for indicating to acquire target signaling data indicated by a target identifier;
responding to the signaling capturing request, and controlling the cache middleware to release target configuration information for capturing the target signaling data;
receiving the target signaling data provided by the signaling gateway according to the target configuration information;
and storing the target signaling data into a target database.
2. The method of claim 1, wherein controlling the caching middleware to issue target configuration information for capturing the target signaling data in response to the signaling capture request comprises:
extracting the target identifier from the signaling acquisition request;
generating target configuration information for capturing the target signaling data according to the target identifier;
And controlling the cache middleware to release the target configuration information according to a preset format.
3. The method of claim 1, wherein after controlling the caching middleware to issue target configuration information for capturing the target signaling data in response to the signaling capture request, the method further comprises:
subscribing the publishing information of the cache middleware, wherein the publishing information carries target configuration information;
and updating the target configuration information into the memory of the current example.
4. The method of claim 1, wherein prior to receiving the target signaling data provided by a signaling gateway in accordance with the target configuration information, the method further comprises:
and controlling the management platform to inform the signaling gateway to update a target signaling synchronization function according to the target configuration information, wherein the target signaling synchronization function is used for indicating the signaling gateway to screen the target signaling data according to the target identifier.
5. The method of claim 1, wherein receiving the target signaling data provided by a signaling gateway in accordance with the target configuration information comprises:
receiving a signaling data packet provided by the signaling gateway based on a preset protocol, wherein the signaling data packet at least comprises the target signaling data encrypted according to the preset protocol;
And analyzing the preset protocol for the signaling data packet to acquire the target signaling data.
6. The method of claim 1, wherein after receiving the target signaling data provided by a signaling gateway according to the target configuration information, the method further comprises:
converting the target signaling data into target message data in a preset format;
delivering the target message data to a target message queue;
batch consumption is carried out on the target message queue, and queue message data of the target message queue are obtained;
and storing the queue message data to the target database in batches.
7. The method of claim 1, wherein after storing the target signaling data to a target database, the method further comprises:
controlling the management platform to screen at least one target signaling data indicated by the target identifier in the target database according to a preset time period;
acquiring target time information of each piece of target signaling data, wherein the target time information is used for identifying generation time of the target signaling data;
and arranging at least one piece of target signaling data according to the sequence of the target time information.
8. A signaling acquisition device, comprising:
the acquisition module is used for acquiring a signaling acquisition request provided by the management platform, wherein the signaling acquisition request is used for indicating acquisition of target signaling data indicated by the target identifier;
the response module is used for responding to the signaling capture request and controlling the cache middleware to release target configuration information for capturing the target signaling data;
the receiving module is used for receiving the target signaling data provided by the signaling gateway according to the target configuration information;
and the storage module is used for storing the target signaling data to a target database.
9. A non-volatile storage medium, wherein a program is stored in the non-volatile storage medium, and wherein the program, when executed, controls a device in which the non-volatile storage medium is located to perform the signaling capture method according to any one of claims 1 to 7.
10. An electronic device, comprising: a memory and a processor for executing a program stored in the memory, wherein the program when executed performs the signaling capture method of any one of claims 1 to 7.
CN202211711833.XA 2022-12-29 2022-12-29 Signaling capturing method and device, nonvolatile storage medium and electronic equipment Pending CN116260742A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211711833.XA CN116260742A (en) 2022-12-29 2022-12-29 Signaling capturing method and device, nonvolatile storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211711833.XA CN116260742A (en) 2022-12-29 2022-12-29 Signaling capturing method and device, nonvolatile storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN116260742A true CN116260742A (en) 2023-06-13

Family

ID=86678426

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211711833.XA Pending CN116260742A (en) 2022-12-29 2022-12-29 Signaling capturing method and device, nonvolatile storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN116260742A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117493466A (en) * 2023-12-27 2024-02-02 国网浙江省电力有限公司金华供电公司 Financial data synchronization method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117493466A (en) * 2023-12-27 2024-02-02 国网浙江省电力有限公司金华供电公司 Financial data synchronization method and system
CN117493466B (en) * 2023-12-27 2024-04-26 国网浙江省电力有限公司宁波供电公司 Financial data synchronization method and system

Similar Documents

Publication Publication Date Title
EP4362422A2 (en) Network traffic identification method and related device
EP3086561A1 (en) Information pushing method, device, and system
US8761757B2 (en) Identification of communication devices in telecommunication networks
US9432507B2 (en) System and method for providing information of outgoing call
CN109152094B (en) Wireless network connection method for terminal
CN104021141B (en) Method, device and system for data processing and cloud service
CN111222019B (en) Feature extraction method and device
CN112423322B (en) Model information sending method, device, storage medium and electronic device
CN112559813B (en) Internet of things gateway data processing method and device based on instruction association pushing
CN116260742A (en) Signaling capturing method and device, nonvolatile storage medium and electronic equipment
CN109309817A (en) The display methods and device of monitor video recognition of face OSD
CN103888539A (en) P2P cache guiding method and device and P2P cache system
FI124815B (en) Processing of call data records
CN103684970A (en) Transmission method and thin terminals for media data streams
CN108632478B (en) Method and device for counting call details, electronic equipment and readable storage medium
CN111367686A (en) Service interface calling method and device, computer equipment and storage medium
CN111064976B (en) Method for sending live broadcast information and server
AU2014411891A1 (en) Charging control apparatus, method, and system
CN103957230A (en) Client user number determination method, server and system, and server
CN108616594B (en) HTTP bypass blocking method based on DPDK
CN108880925B (en) Method and system for monitoring flow
CN103227942A (en) Intelligent authorization method for digital television
CN115209179A (en) Video data processing method and device
CN109101399B (en) Monitoring method and device for host
CN112910595A (en) Real-time communication method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination