CN107135128B - Call chain data acquisition method, mobile terminal and computer-readable storage medium - Google Patents

Call chain data acquisition method, mobile terminal and computer-readable storage medium Download PDF

Info

Publication number
CN107135128B
CN107135128B CN201710511094.2A CN201710511094A CN107135128B CN 107135128 B CN107135128 B CN 107135128B CN 201710511094 A CN201710511094 A CN 201710511094A CN 107135128 B CN107135128 B CN 107135128B
Authority
CN
China
Prior art keywords
collector
call chain
chain data
data
collectors
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710511094.2A
Other languages
Chinese (zh)
Other versions
CN107135128A (en
Inventor
邹炜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201710511094.2A priority Critical patent/CN107135128B/en
Publication of CN107135128A publication Critical patent/CN107135128A/en
Application granted granted Critical
Publication of CN107135128B publication Critical patent/CN107135128B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/02Capturing of monitoring data
    • H04L43/022Capturing of monitoring data by sampling
    • H04L43/024Capturing of monitoring data by sampling by adaptive sampling
    • 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

Abstract

The invention discloses a call chain data acquisition method, which is applied to a call chain data acquisition agent and comprises the following steps: collecting performance data of a host terminal, reporting the collected performance data to a connected collector, forwarding the performance data to a real-time computing platform by the collector, and generating an adjusting instruction which carries a sampling collection proportion of the performance data and is returned by the real-time computing platform and is matched with the performance data; receiving an adjusting instruction returned by the collector based on the performance data; and when the adjusting instruction is received, updating the sampling acquisition proportion of the monitored service call chain data on the acquisition host terminal into the sampling acquisition proportion carried by the adjusting instruction. The invention also discloses a mobile terminal and a computer readable storage medium. The invention can collect the call chain data of the monitored service on the host terminal as much as possible on the premise of ensuring the stable performance of the host terminal.

Description

Call chain data acquisition method, mobile terminal and computer-readable storage medium
Technical Field
The invention relates to the technical field of network monitoring, in particular to a call chain data acquisition method, a mobile terminal and a computer readable storage medium.
Background
With the rapid development of the business of internet enterprises, related enterprises will have to implement microservice strategies to cope with increasingly complex business and drastically increasing application categories. These distributed applications rely on each other to collaborate together to complete all business scenarios of an enterprise, the complexity and number of dynamic changes of which are beyond imagination, monitor them and try to master the global situation, so that a call chain tracking system is generated in due course to assist business development teams in understanding system behavior, combing system architecture, optimizing system performance and the like.
However, the current commercial or open-source call chain systems in the market have the problem of loss of performance of the host terminal, and the degree of performance damage increases with the increase of the data sampling rate, for example, when the sampling rate is set to 100%, the performance damage of the host terminal reaches about 30%, in other words, if the host terminal works normally, 1000 external requests can be processed at the same time, and when the sampling rate is set to 100% after the call chain is accessed, only about 700 external requests can be processed at the same time.
Disclosure of Invention
The invention provides a call chain data acquisition method, a mobile terminal and a computer readable storage medium, aiming at acquiring call chain data as much as possible on the premise of ensuring the stable performance of a host terminal.
In order to achieve the above object, the present invention provides a call chain data acquisition method, including:
collecting performance data of a host terminal, reporting the collected performance data to a connected collector, forwarding the performance data to a real-time computing platform by the collector, and generating an adjusting instruction which carries a sampling collection proportion of the performance data and is returned by the real-time computing platform and is matched with the performance data;
receiving an adjusting instruction returned by the collector based on the performance data;
and when the adjusting instruction is received, updating the sampling acquisition proportion of the monitored service call chain data on the acquisition host terminal into the sampling acquisition proportion carried by the adjusting instruction.
Further, the present invention also provides a mobile terminal, comprising:
a memory storing a call chain data acquisition agent program;
a processor configured to execute the call chain data collection agent to implement the steps of:
collecting performance data of a host terminal, reporting the collected performance data to a connected collector, forwarding the performance data to a real-time computing platform by the collector, and generating an adjusting instruction which carries a sampling collection proportion of the performance data and is returned by the real-time computing platform and is matched with the performance data;
receiving an adjusting instruction returned by the collector based on the performance data;
and when the adjusting instruction is received, updating the sampling acquisition proportion for acquiring the monitored service call chain data on the host terminal into the sampling acquisition proportion carried by the adjusting instruction.
Further, the present invention also provides a computer-readable storage medium having stored thereon a call chain data collection agent, which when executed by a processor implements the steps of:
collecting performance data of a host terminal, reporting the collected performance data to a connected collector, forwarding the performance data to a real-time computing platform by the collector, and generating an adjusting instruction which carries a sampling collection proportion of the performance data and is returned by the real-time computing platform and is matched with the performance data;
receiving an adjusting instruction returned by the collector based on the performance data;
and when the adjusting instruction is received, updating the sampling acquisition proportion for acquiring the monitored service call chain data on the host terminal into the sampling acquisition proportion carried by the adjusting instruction.
The call chain data acquisition method, the mobile terminal and the computer readable storage medium provided by the invention have the advantages that the performance data of the host terminal is acquired, the acquired performance data is reported to the connected collector, the collector forwards the performance data to the real-time computing platform, the real-time computing platform returns the sampling acquisition proportion matched with the performance data, and then an adjusting instruction is sent to the call chain data acquisition proxy to instruct the call chain data acquisition proxy to update the sampling acquisition proportion for acquiring the monitored service call chain data to the sampling acquisition proportion matched with the performance data of the host terminal, so that the sampling acquisition proportion is adaptive to the real-time performance of the host terminal, and the call chain data can be acquired as much as possible on the premise of ensuring the stable performance of the host terminal.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of an optional mobile terminal for implementing various embodiments of the present invention;
FIG. 2 is a communication network system architecture diagram of the mobile terminal shown in FIG. 1;
FIG. 3 is a flowchart illustrating a first embodiment of a call chain data collection method according to the present invention;
FIG. 4 is a diagram illustrating a call chain data acquisition architecture in a first embodiment of a call chain data acquisition method according to the present invention;
FIG. 5 is an exemplary diagram of a tree structure of a collector cluster in a first embodiment of a call chain data collection method according to the present invention;
FIG. 6 is an exemplary diagram of a tree structure after registration of a call chain data collection agent in the first embodiment of the call chain data collection method of the present invention;
FIG. 7 is an exemplary diagram of a mapping relationship between performance data and a sampling ratio in a first embodiment of a call chain data collection method according to the present invention;
fig. 8 is a schematic structural diagram of a routing model in a second embodiment of the call chain data collection method of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palm top computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device (such as a smart band), a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of an optional mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, Wi-Fi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
Wi-Fi belongs to a short-distance wireless transmission technology, and a mobile terminal can help a user to receive and send emails, browse webpages, access streaming media and the like through a Wi-Fi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the Wi-Fi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the Wi-Fi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the Wi-Fi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
Near Field Communication (NFC) is a short-range, high-frequency radio technology that allows contactless point-to-point data transmission and exchange of data between electronic devices, which evolved from contactless Radio Frequency Identification (RFID). The NFC has the working frequency of 13.56Hz, the effective range of 20cm and the transmission speed of 106 Kbit/s, 212 Kbit/s or 424 Kbit/s. NFC has 3 modes of operation: card reader mode, point-to-point mode, card emulation mode. And when the NFC equipment is in a card reader mode, the NFC equipment generates a radio frequency field to read and write data from an external NFC label with the same standard. In the peer-to-peer mode, the NFC may communicate with other NFC devices for peer-to-peer data transmission. In the card simulation mode, the card reader is an active device and generates a radio frequency field; the NFC equipment is passive equipment, and a non-contact card meeting the NFC standard is simulated to interact with the card reader. The mobile terminal 100 implements an NFC function, such as implementing NFC payment, etc., through the NFC controller 111.
The mobile terminal 100 may further include a power supply 112 (e.g., a battery) for supplying power to the various components, and preferably, the power supply 112 may be logically connected to the processor 110 via a power management system, so that functions of managing charging, discharging, and power consumption are performed via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the mobile terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and communication network system, various embodiments of the mobile terminal of the present invention are provided.
Referring to fig. 1, in a first embodiment of the mobile terminal of the present invention, the mobile terminal includes:
a memory 109 in which a call chain data collection agent is stored;
a processor 110 configured to execute the call chain data collection agent stored in the memory 109 to:
collecting performance data of a host terminal, reporting the collected performance data to a connected collector, forwarding the performance data to a real-time computing platform by the collector, and generating an adjusting instruction which carries a sampling collection proportion of the performance data and is returned by the real-time computing platform and is matched with the performance data;
receiving an adjusting instruction returned by the collector based on the performance data;
and when the adjustment instruction is received, updating the sampling acquisition proportion of the monitored service call chain data on the acquisition host terminal into the sampling acquisition proportion carried by the adjustment instruction.
Further, when the processor 110 executes the call chain data collection agent stored in the memory 109, the following operations are also implemented:
acquiring call chain data of the monitored business service according to the updated sampling acquisition proportion;
and reporting the collected call chain data to a connected collector, and storing the call chain data into a preset distributed storage data warehouse by the collector.
Further, when the processor 110 executes the call chain data collection agent stored in the memory 109, the following operations are also implemented:
when the reporting of the call chain data fails, determining other connectable collectors in a collector cluster where the connected collectors are located as target collectors for reporting the call chain data;
and establishing connection with the determined target collector, reporting the call chain data to the target collector, and storing the call chain data into a preset distributed storage data warehouse by the target collector.
Further, when the processor 110 executes the call chain data collection agent stored in the memory 109, the following operations are also implemented:
after the host terminal starts the monitored service, identifying whether a collector in a collector cluster exists in a network segment where the host terminal is located;
and when the collectors in the collector cluster are identified in the network segment, establishing connection with the identified collectors.
Further, when the processor 110 executes the call chain data collection agent stored in the memory 109, the following operations are also implemented:
and when the collectors in the collector cluster are not identified in the network segment, establishing connection with the collectors corresponding to the default connection information based on the stored default connection information.
Further, when the processor 110 executes the call chain data collection agent stored in the memory 109, the following operations are also implemented:
and sending a preset UDP multicast message to the network segment, and determining that the collector in the collector cluster exists in the network segment if a response message returned by any collector based on the preset UDP multicast message is received.
Further, when the processor 110 executes the call chain data collection agent stored in the memory 109, the following operations are also implemented:
sending a connection information acquisition request to a connected collector so that the collector can acquire and return connection information of other collectors in the collector cluster;
and receiving and storing the connection information of each other collector returned by the connected collector.
Further, when the processor 110 executes the call chain data collection agent stored in the memory 109, the following operations are also implemented:
based on the connection information of other collectors, performing route addressing time-consuming test on the other collectors, and determining whether the other collectors are connectable, wherein the collectors are not connectable when the collectors are down or the load exceeds a preset load;
and taking the collector with the optimal transmission link with other connectable collectors as a target collector for reporting the calling link data.
Further, the present invention also provides a call chain data acquisition method, which is applied to a call chain data acquisition agent, and referring to fig. 3, in a first embodiment of the call chain data acquisition method of the present invention, the call chain data acquisition method includes:
step S10, collecting the performance data of the host terminal, reporting the collected performance data to a connected collector, forwarding the performance data to a real-time computing platform by the collector, and generating an adjusting instruction which carries the sampling collection proportion of the performance data and is returned by the real-time computing platform and is matched with the performance data;
step S20, receiving an adjusting instruction returned by the collector based on the performance data;
and step S30, when the adjustment instruction is received, updating the sampling acquisition proportion of the monitored service call chain data on the acquisition host terminal into the sampling acquisition proportion carried by the adjustment instruction.
Zookeeper is a distributed, open-source distributed application coordination service, is an open-source implementation of Chubby of Google, is an important component of Hadoop and Hbase, and is used for solving some data management problems frequently encountered by distributed applications, such as: a uniform naming service, a state synchronization service, a clustering service, a distributed management for configuration parameters, etc.
In this embodiment, to ensure the implementation of the object of the present invention, please refer to fig. 4, a Zookeeper cluster service, a Hadoop-based distributed storage data warehouse, Kafka message middleware, and a MySQL database need to be deployed in advance, and a collector cluster, a background management system, and a real-time computing platform are built based on the deployed Zookeeper cluster, where the collector cluster corresponds to a persistent node under the Zookeeper cluster.
In specific implementation, each collector opens two ports, which correspond to the reception of TCP (reliable transmission) and UDP (unreliable transmission) datagrams, respectively, where the TCP port is mainly responsible for data transmission such as performance data, a life cycle state, important call chain data, and a request command of the call chain data collection proxy, and the UDP port is mainly responsible for transmission of general call chain data. The collector stores the received data in a task queue with a fixed length for processing after receiving the data reported by the call chain data acquisition agent, and if the received data is too much and exceeds the length of the task queue, the collector marks the collector as a high-load state, rejects the connection of a new call chain data acquisition agent, and appropriately disconnects part of the connected call chain data acquisition agents to ensure that the call chain data acquisition agents are not washed down by huge data quantity.
The Zookeeper cluster is mainly responsible for sharing the connection information (including IP address, TCP port information and UDP port information) of all the collectors in the collector cluster. Each collector in the collector cluster constructs a unique temporary node under the persistent node corresponding to the collector cluster when determining, and in specific implementation, the temporary node may be named according to connection information of the collector, for example, please refer to fig. 5, as shown in fig. 5, in specific implementation, the collector cluster corresponds to a persistent node "collector" under the Zookeeper cluster, each collector in the collector cluster corresponds to a unique temporary node under the "collector", and the temporary node generates a temporary name by an encrypted character string formed by combining an IP address of the collector and two ports of TCP/UDP. In addition, it should be noted that when a collector is closed, including normal closing and abnormal closing, all temporary nodes corresponding to the collector are automatically deleted on the Zookeeper cluster, so that the temporary nodes can be perceived by the entire collector cluster.
In this embodiment, the call chain data collection agent is started together with the service monitored by the call chain data collection agent, that is, when the monitored service on the host terminal is started, the call chain data collection agent is started therewith; when the monitored business service stops, the call chain data acquisition agent stops running. The call chain data acquisition agent reports acquired important call chain data and life state data to a connected collector in real time through a TCP (transmission control protocol) transmission protocol, caches common call chain data in the local, and reports the data to the connected collector through a UDP (user datagram protocol) transmission protocol at regular time (for example, reporting the data once every 5 seconds). It should be noted that, regarding important call chain data and general call chain data, a person skilled in the art can define the data according to actual needs, and the present invention is not limited thereto, for example, in the embodiment of the present invention, related call chain data such as a memory, a CPU, and a JVM are used as the important call chain data.
In specific implementation, after the call chain data collection agent is started, information such as an agent identifier, a monitored service name and the like of the call chain data collection agent is registered in the Zookeeper cluster through a collector corresponding to the call chain data collection agent, for example, referring to fig. 6, the call chain data collection agent with the agent identifier "API _ 8001" is associated with the collector with the name "10.206.11.23 @9100@ 9200" after registration, that is, the call chain data collection agent is connected with the collector. And then, acquiring the call chain data of the monitored business service on the host terminal according to a default sampling acquisition proportion, reporting the acquired call chain data to a connected collector, and storing the received call chain data into a distributed storage data warehouse by the collector. The embodiment of the present invention is not particularly limited to the setting of the default sampling rate, and may be set by a person skilled in the art according to actual needs, for example, the default sampling rate may be set to be 20%.
On the other hand, after the call chain data acquisition agent finishes the start registration, network management personnel can check the relevant information of the call chain data acquisition agent in the background management system and can configure a sampling acquisition proportion setting rule for the call chain data acquisition agent according to actual needs, wherein the sampling acquisition proportion setting rule at least comprises the mapping relation between performance data and a sampling acquisition proportion, and the performance data comprises but is not limited to CPU occupancy rate, memory occupancy rate and active thread number. Referring to fig. 7, a mapping relationship between performance data and a sampling proportion under a sampling proportion setting rule is shown, where under the sampling proportion setting rule, if a CPU occupancy rate of a host terminal is less than 30% and a memory occupancy rate is less than 50%, a matched sampling proportion is 50%.
And after receiving the sampling acquisition proportion setting rule configured by the user, the background management system stores the sampling acquisition proportion setting rule into the MySQL database.
The call chain data collection agent collects performance data of the host terminal while collecting the reported call chain data, wherein the collected performance data comprises but is not limited to CPU occupancy rate, memory occupancy rate, active thread number and the like. After the call chain data acquisition agent acquires the performance data of the host terminal, the call chain data acquisition agent reports the acquired performance data to the connected collector through the TCP connection between the call chain data acquisition agent and the collector.
After receiving the performance data reported by the call chain data collection agent, the collector processes and stores the received performance data into the distributed storage data warehouse according to a preset storage rule, and meanwhile, forwards the performance data to the real-time computing platform through Kafka message middleware. In this embodiment, how to set the preset storage rule is not specifically limited, and the preset storage rule may be set by a person skilled in the art according to actual storage requirements.
After receiving the performance data forwarded by the collector, the real-time computing platform extracts a sampling acquisition proportion setting rule corresponding to the call chain data acquisition agent from the MySQL database, and determines the sampling acquisition proportion of the performance data reported by the corresponding collector according to the mapping relation between the performance data and the sampling acquisition proportion included in the sampling acquisition proportion setting rule. And after the sampling acquisition proportion of the performance data reported by the corresponding collector is determined, returning the determined sampling acquisition proportion to the source collector through the Zookeeper cluster. For example, the real-time computing platform receives performance data reported by the collector as "active thread 815, CPU occupancy 81%, and memory occupancy 82%", and then determines that the sample acquisition proportion corresponding to the performance data is 10% according to the mapping relationship between the performance data and the sample acquisition proportion shown in fig. 7, and returns the sample acquisition proportion "10%" to the collector.
After receiving the sampling acquisition proportion returned by the real-time computing platform, the collector generates an adjusting instruction carrying the sampling acquisition proportion, and is used for indicating the calling chain data acquisition agent to update the sampling acquisition proportion for acquiring the calling chain data of the monitored business service to the sampling acquisition proportion carried by the adjusting instruction, namely the sampling acquisition proportion matched with the performance data of the host terminal.
After receiving the adjusting instruction sent by the collector, the call chain data acquisition agent extracts the sampling acquisition proportion carried by the adjusting instruction, and updates the sampling acquisition proportion for acquiring the monitored service call chain data on the host terminal into the sampling acquisition proportion carried by the adjusting instruction, so that the sampling acquisition proportion for acquiring the call chain data is adaptive to the performance of the host terminal, and the call chain data can be acquired as much as possible on the premise of ensuring the stable performance of the host terminal.
The call chain data acquisition method provided by the embodiment of the invention acquires the performance data of the host terminal, reports the acquired performance data to the connected collector, forwards the performance data to the real-time computing platform for the real-time computing platform to return the sampling acquisition proportion matched with the performance data, and then sends an adjusting instruction to the call chain data acquisition proxy to instruct the call chain data acquisition proxy to update the sampling acquisition proportion for acquiring the monitored business service call chain data to the sampling acquisition proportion matched with the performance data of the host terminal, so that the sampling acquisition proportion is adaptive to the real-time performance of the host terminal, and the call chain data can be acquired as much as possible on the premise of ensuring the stable performance of the host terminal.
Further, based on the first embodiment, a second embodiment of the call chain data collection method according to the present invention is provided, and in this embodiment, after step S30, the method further includes:
acquiring call chain data of the monitored business service according to the updated sampling acquisition proportion;
and reporting the collected call chain data to a connected collector, and storing the call chain data into a preset distributed storage data warehouse by the collector.
It is easy to understand that the scheme of the invention aims to collect the call chain data of the monitored service on the host terminal as much as possible on the premise of ensuring the stable performance of the host terminal. Therefore, in this embodiment, after the update of the sampling proportion is completed, the call chain data collection agent collects the call chain data of the monitored service on the host terminal according to the updated sampling proportion, reports the collected call chain data to the connected collector, and stores the received call chain data in the distributed storage data warehouse.
Considering the following scenario, when a collector connected to a call chain data collection agent is down or in a high-load state, the collector cannot process call chain data reported by the call chain data collection agent. At this time, the call chain data collection agent reports the call chain data of the monitored business service which cannot be collected to the connected collector.
In order to achieve correct reporting of the collected call chain data, in this embodiment, after the step of reporting the collected call chain data to the connected collector, the method further includes:
when the reporting of the call chain data fails, determining other connectable collectors in a collector cluster where the connected collectors are located as target collectors for reporting the call chain data;
and establishing connection with the determined target collector, reporting the call chain data to the target collector, and storing the call chain data into a preset distributed storage data warehouse by the target collector.
In specific implementation, if the reporting of the collected call chain data fails, the call chain data collection agent may use any other connectable collector in the collector cluster as a target collector for reporting the call chain data, where the collector is not connectable when down or the load exceeds a preset load, the load exceeds the preset load, that is, the load is received, and the unprocessed data exceeds the length of its task queue.
After the target collector is determined, the call chain data acquisition agent establishes connection with the determined target collector, and specifically, when the call chain data acquisition agent establishes connection with the determined target collector, the call chain data acquisition agent establishes long TCP connection with the target collector based on a TCP port opened by the target collector.
After the connection with the target collector is established, the call chain data collection agent can report the call chain data collected before to the target collector, so that the target collector can store the received call chain data into the preset distributed data warehouse after receiving the call chain data reported by the call chain data collection agent.
For example, referring to fig. 4, a long TCP connection is established between the call chain data collection agent 1 and the collector 1, before the call chain data collection agent 1 newly collects call chain data of a monitored business service, the collector 1 goes down due to an emergency, and obviously, the call chain data collection agent 1 cannot report the call chain data collected by the call chain data collection agent to the collector 1. In order to ensure the call chain tracking of the monitored business service, the call chain data acquisition agent 1 determines that the collector 2 is a target collector for reporting call chain data, reports the previously collected call chain data to the collector 2 after establishing a TCP long connection with the collector 2, and stores the call chain data in a distributed storage data warehouse by the collector 2.
Further, based on the first embodiment, a third embodiment of the call chain data collection method according to the present invention is provided, where in this embodiment, before step S10, the method further includes:
after the host terminal starts the monitored service, identifying whether a collector in a collector cluster exists in a network segment where the host terminal is located;
and when the collectors in the collector cluster are identified in the network segment, establishing connection with the identified collectors.
It should be noted that, in this embodiment, on the basis of the foregoing first embodiment, an operation of establishing a connection between the call chain data collection agent and the collector before reporting data is added, which is only described below, and other operations may refer to the foregoing first embodiment, and are not described herein again.
In the embodiment of the present invention, after the host terminal starts the monitored service, the call chain data collection agent is started, and identifies whether a collector in the collector cluster exists in the network segment in which the host terminal is located, specifically, when the call chain data collection agent identifies whether a collector in the collector cluster exists in the network segment in which the host terminal is located, a preset UDP multicast packet is sent to the network segment in which the host terminal is located, and if a response packet returned by any collector based on the preset UDP multicast packet is received, it is determined that a collector in the collector cluster exists in the network segment in which the host terminal is located. The message format of the preset UDP multicast message may be defined by those skilled in the art according to actual needs, and embodiments of the present invention are not limited specifically.
When the collector in the collector cluster is identified in the network segment where the host terminal is located, a TCP connection request is sent to the identified collector to request the TCP long connection to be established with the identified collector. It should be noted that, if a collector in a plurality of collector clusters is identified in a network segment where a host terminal is located, the call chain data collection agent may arbitrarily select one identified collector to initiate a TCP connection request.
Further, in this embodiment, after the step of identifying whether the collector in the collector cluster exists in the network segment where the host terminal is located, the method further includes the following steps:
and when the collector in the collector cluster is not identified in the network segment where the host terminal is located, establishing connection with the collector corresponding to the default connection information based on the stored default connection information.
It should be noted that, in this embodiment, in order to avoid failure of actively discovering the collector, another scheme for connecting the collector is provided for selection.
Specifically, when a collector cluster is deployed, a default collector is pre-allocated to each call chain data collection agent, and connection information (including an IP address, a TCP port number, and a UDP port number) of the default collector is stored as default connection information in a host terminal of the call chain data collection agent.
After the call chain data acquisition agent sends the preset UDP message to the network segment where the host terminal is located, if a response message returned by any collector is not received, the fact that the collector in the collector cluster does not exist in the network segment where the host terminal is located is determined, at the moment, the call chain data acquisition agent acquires default connection information stored in the host terminal, and sends a TCP connection request to a collector corresponding to the default connection information (namely the default collector distributed to the call chain data acquisition agent) based on the default connection information to request for establishing TCP long connection. And when the initiated TCP connection request does not respond, the default collector is not currently connectable, the default connection information needs to be reconfigured for the call chain data collection agent, and at the moment, prompt information for reconfiguring the default connection information for the call chain data collection agent is output to prompt related personnel to complete reconfiguration of the default connection information.
For example, when a collector in a collector cluster is not identified in a network segment where the host terminal is located, the call chain data collection agent obtains the default connection information "IP address: 10.206.11.25, TCP port: 9100, UDP port: 9200 ", the call chain data collection agent initiates a TCP connection request to the collector with IP address" 10.206.11.25 "to establish a long TCP connection with it through 9100 port.
Further, in this embodiment, after establishing a connection with any one of the collectors, the method further includes the following steps:
sending a connection information acquisition request to a connected collector so that the collector can acquire and return connection information of other collectors in the collector cluster;
and receiving and storing the connection information of each other collector returned by the connected collector.
It should be noted that, in this embodiment, the call chain data collection agent also maintains connection information of each collector in the collector cluster.
Specifically, in this embodiment, after the call chain data collection agent establishes connection between collectors in any collector cluster, the call chain data collection agent sends a connection information acquisition request to a connected collector, and requests the collector for connection information of each other collector in the collector cluster.
The collector acquires the connection information of all collectors of the whole collector cluster from the Zookeeper cluster after receiving a connection information acquisition request sent by the call chain data acquisition agent, and then returns the connection information of other collectors to the call chain data acquisition agent.
Correspondingly, the call chain data acquisition agent receives the connection information of other collectors returned by the connected collectors, and the call chain data acquisition agent initially acquires the connection information of other collectors in the collector cluster except the connected collectors, and records the connection information of the other collectors acquired at this time as the connection information for storage. During storage, the connection information of each other collector may be stored in the memory 109 of the host terminal, or the connection information of each other collector may be cached in the memory of the host terminal.
Further, in order to increase the reporting speed of the collected data, in this embodiment, after storing the connection information of each other collector, the method further includes the following steps:
the method comprises the steps of disconnecting TCP connection with connected collectors, carrying out route addressing time-consuming test on each collector in a collector cluster based on connection information of other collectors and connection information of the collectors connected before, and determining whether each collector in the collector cluster can be connected, wherein the collectors cannot be connected when the collector is down or the load exceeds a preset load;
and establishing connection with the collector with the optimal transmission link among the connectable collectors.
For example, referring to fig. 8, as shown in fig. 8, the transmission link from the chain data collection agent to the collector 2 is called as the optimal link.
Further, in this embodiment, after the step of receiving and storing the connection information of each other collector returned by the connected collector, the method further includes:
when a first preset updating period is reached, sending a second connection information acquisition request to a connected collector;
and when second connection information of other collectors returned by the connected collector is received, updating the stored connection information based on the second connection information.
In the embodiment of the present invention, a first preset update period for updating connection information is preset, and the setting of the first preset update period in the embodiment of the present invention is not specifically limited, and may be set by a person skilled in the art according to actual needs, for example, the first preset update period is set to 5 minutes in the embodiment.
In specific implementation, if a first preset update period is reached, the chain data collection agent is called to initiate to obtain real-time connection information (recorded as second connection information) of each collector in the collector cluster to a connected collector based on a TCP protocol, and when second connection information of each other collector returned by the connected collector is received, the stored connection information is updated based on each second connection information, and specifically, the connection information of each other collector is differentially updated, so as to ensure timeliness of the maintained connection information of each other collector.
Further, based on the third embodiment, a fourth embodiment of the call chain data collection method of the present invention is provided, in this embodiment, step S20 includes:
based on the connection information of other collectors, performing route addressing time-consuming test on the other collectors, and determining whether the other collectors are connectable, wherein the collectors are not connectable when the collectors are down or the load exceeds a preset load;
and taking the collector with the optimal transmission link with other connectable collectors as a target collector for reporting the calling link data.
It should be noted that, in this embodiment, a specific description of determining a target collector is added on the basis of the foregoing embodiment, and other descriptions related to the foregoing embodiment may be referred to, and are not repeated herein.
It is easily understood that the transmission link optimization means that the collected call chain data can be reported to the collector at the fastest speed. Therefore, in this embodiment, when the target collector that reports the call chain data is determined, a routing addressing time-consuming test is performed on each other collector specifically based on the connection information of each other collector, then it is determined whether each other collector is connectable (where a collector is down or a load exceeds a preset load is not connectable), the collector that is down and the collector with a high load are discarded, and finally, the collector with the optimal transmission link among the connectable other collectors is used as the target collector that reports the call chain data.
For example, referring to fig. 8, a call chain data collection agent initially establishes a connection with a collector n, and call chain data collected by the call chain data collection agent cannot be reported to the collector n due to a high load of the collector n, and at this time, a route addressing time-consuming test is triggered, as shown in fig. 8, a transmission link from the call chain data collection agent to a collector 2 is an optimal transmission link due to a transmission link from the call chain data collection agent to a collector 1, and obviously, the call chain data collection agent uses the collector 2 as a target collector for reporting the call chain data.
Further, to ensure efficient reporting of call chain data, in this embodiment, the method further includes the following steps:
when a second preset updating period is reached, performing routing addressing time-consuming test on each collector in the collector cluster, and judging whether the current connected collector is the collector with the optimal transmission link in the collector cluster according to the test result;
and if the judgment result is negative, establishing connection with the collector with the optimal current transmission link in the collector cluster.
It should be noted that, in this embodiment, a second preset update period for triggering the routing addressing time-consuming test is also preset, and the setting of the second preset update period in the embodiment of the present invention is not specifically limited, and may be set by a person skilled in the art according to actual needs, for example, the second preset update period is set to one hour in this embodiment.
In specific implementation, if the second preset updating period is reached, the call chain data acquisition agent performs routing addressing time-consuming test on each collector in the collector cluster based on the stored connection information of each other collector and the connection information of the currently connected collector, and judges whether the currently connected collector is the collector with the optimal current transmission link in the collector cluster according to the test result. When the current connected collector is the collector with the optimal transmission link in the collector cluster, calling a chain data collection agent to maintain the connection with the current connected collector; and when the current connected collector is not the collector with the optimal transmission link in the collector cluster, calling the connection between the chain data collection agent port and the current connected collector, and establishing the connection with the collector with the optimal transmission link in the collector cluster.
Furthermore, the present invention also provides a computer-readable storage medium, on which a call chain data collection agent is stored, and when being executed by the processor 110, the call chain data collection agent implements the following operations:
collecting performance data of a host terminal, reporting the collected performance data to a connected collector, forwarding the performance data to a real-time computing platform by the collector, and generating an adjusting instruction which carries a sampling collection proportion of the performance data and is returned by the real-time computing platform and is matched with the performance data;
receiving an adjusting instruction returned by the collector based on the performance data;
and when the adjustment instruction is received, updating the sampling acquisition proportion of the monitored service call chain data on the acquisition host terminal into the sampling acquisition proportion carried by the adjustment instruction.
Further, the aforementioned call chain data collection agent, when executed by the processor 110, further implements the following operations:
acquiring call chain data of the monitored business service according to the updated sampling acquisition proportion;
and reporting the collected call chain data to a connected collector, and storing the call chain data into a preset distributed storage data warehouse by the collector.
Further, the aforementioned call chain data collection agent, when executed by the processor 110, further implements the following operations:
when the reporting of the call chain data fails, determining other connectable collectors in a collector cluster where the connected collectors are located as target collectors for reporting the call chain data;
and establishing connection with the determined target collector, reporting the call chain data to the target collector, and storing the call chain data into a preset distributed storage data warehouse by the target collector.
Further, the aforementioned call chain data collection agent, when executed by the processor 110, further implements the following operations:
after the host terminal starts the monitored service, identifying whether a collector in a collector cluster exists in a network segment where the host terminal is located;
and when the collectors in the collector cluster are identified in the network segment, establishing connection with the identified collectors.
Further, the aforementioned call chain data collection agent, when executed by the processor 110, further implements the following operations:
and when the collectors in the collector cluster are not identified in the network segment, establishing connection with the collectors corresponding to the default connection information based on the stored default connection information.
Further, the aforementioned call chain data collection agent, when executed by the processor 110, further implements the following operations:
and sending a preset UDP multicast message to the network segment, and determining that the collector in the collector cluster exists in the network segment if a response message returned by any collector based on the preset UDP multicast message is received.
Further, the aforementioned call chain data collection agent, when executed by the processor 110, further implements the following operations:
sending a connection information acquisition request to a connected collector so that the collector can acquire and return connection information of other collectors in the collector cluster;
and receiving and storing the connection information of each other collector returned by the connected collector.
Further, the aforementioned call chain data collection agent, when executed by the processor 110, further implements the following operations:
based on the connection information of other collectors, performing route addressing time-consuming test on the other collectors, and determining whether the other collectors are connectable, wherein the collectors are not connectable when the collectors are down or the load exceeds a preset load;
and taking the collector with the optimal transmission link with other connectable collectors as a target collector for reporting the calling link data.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for causing a mobile terminal to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A call chain data acquisition method is applied to a call chain data acquisition agent and is characterized by comprising the following steps:
collecting performance data of a host terminal, reporting the collected performance data to a connected collector, forwarding the performance data to a real-time computing platform by the collector, and generating an adjusting instruction which carries a sampling collection proportion of the performance data and is returned by the real-time computing platform and is matched with the performance data;
receiving an adjusting instruction returned by the collector based on the performance data;
and when the adjusting instruction is received, updating the sampling acquisition proportion for acquiring the monitored service call chain data on the host terminal into the sampling acquisition proportion carried by the adjusting instruction.
2. The call chain data acquisition method according to claim 1, wherein after the step of updating the sampling acquisition proportion of the monitored service call chain data on the acquisition host terminal to the sampling acquisition proportion carried by the adjustment instruction when receiving the adjustment instruction, the method further comprises:
acquiring call chain data of the monitored business service according to the updated sampling acquisition proportion;
and reporting the collected call chain data to the collector, and storing the call chain data into a preset distributed storage data warehouse by the collector.
3. The call chain data collection method according to claim 2, wherein after the step of reporting the collected call chain data to the collector, the method further comprises:
when the call chain data report fails, determining other connectable collectors in the collector cluster where the collector is located as a target collector for reporting the call chain data;
and establishing connection with the determined target collector, and reporting the call chain data to the target collector for the target collector to store the call chain data into the preset distributed storage data warehouse.
4. The call chain data collection method according to claim 3, wherein before the step of collecting the performance data of the host terminal and reporting the collected performance data to the connected collector, the method further comprises:
after the host terminal starts the monitored service, identifying whether a collector in the collector cluster exists in a network segment where the host terminal is located;
and when the collector in the collector cluster is identified in the network segment, establishing connection with the identified collector.
5. The call chain data acquisition method according to claim 4, wherein after the step of identifying whether the collector in the collector cluster exists in the network segment in which the host terminal is located, the method further comprises:
and when the collectors in the collector cluster are not identified in the network segment, establishing connection with the collectors corresponding to the default connection information based on the stored default connection information.
6. The call chain data acquisition method according to claim 4 or 5, wherein the step of identifying whether the collector in the collector cluster exists in the network segment where the host terminal is located includes:
and sending a preset UDP multicast message to the network segment, and determining that the collector in the collector cluster exists in the network segment if a response message returned by any collector based on the preset UDP multicast message is received.
7. The call chain data collection method according to claim 4 or 5, further comprising, after establishing a connection with any collector in the collector cluster:
sending a connection information acquisition request to a connected collector so that the collector can acquire and return connection information of other collectors in the collector cluster;
and receiving and storing the connection information of each other collector returned by the connected collector.
8. The method for acquiring call chain data according to claim 7, wherein the step of determining other connectable collectors in the collector cluster where the collector is located as a target collector for reporting the call chain data comprises:
based on the connection information of other collectors, performing route addressing time-consuming test on the other collectors, and determining whether the other collectors are connectable, wherein the collectors are not connectable when the collectors are down or the load exceeds a preset load;
and taking the collector with the optimal transmission link with other connectable collectors as a target collector for reporting the calling link data.
9. A mobile terminal, characterized in that the mobile terminal comprises:
a memory storing a call chain data acquisition agent program;
a processor configured to execute the call chain data collection agent to implement the steps of the call chain data collection method of any one of claims 1 to 8.
10. A computer-readable storage medium having stored thereon a call chain data collection agent that, when executed by a processor, performs the steps of the call chain data collection method of any one of claims 1 to 8.
CN201710511094.2A 2017-06-28 2017-06-28 Call chain data acquisition method, mobile terminal and computer-readable storage medium Active CN107135128B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710511094.2A CN107135128B (en) 2017-06-28 2017-06-28 Call chain data acquisition method, mobile terminal and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710511094.2A CN107135128B (en) 2017-06-28 2017-06-28 Call chain data acquisition method, mobile terminal and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN107135128A CN107135128A (en) 2017-09-05
CN107135128B true CN107135128B (en) 2021-07-23

Family

ID=59735793

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710511094.2A Active CN107135128B (en) 2017-06-28 2017-06-28 Call chain data acquisition method, mobile terminal and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN107135128B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109286608B (en) * 2018-08-20 2022-08-12 中国平安人寿保险股份有限公司 Call chain processing method and device, storage device and computer device
CN111740871A (en) * 2019-03-25 2020-10-02 华为技术有限公司 Data acquisition method and device
CN110380936B (en) * 2019-07-23 2021-05-14 中国工商银行股份有限公司 Test method and device
CN110806931B (en) * 2019-10-31 2022-11-22 上海依图网络科技有限公司 Method and device for realizing call link tracking of distributed service and electronic equipment
CN110995839B (en) * 2019-12-03 2022-09-20 北京搜狐新媒体信息技术有限公司 Method and device for analyzing performance of advertisement system and computer storage medium
CN113138906A (en) * 2021-05-13 2021-07-20 北京优特捷信息技术有限公司 Call chain data acquisition method, device, equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102739755A (en) * 2011-11-07 2012-10-17 李宗诚 Computation technology foundation of intelligent integrated network computer
CN103188119A (en) * 2011-12-27 2013-07-03 特克特朗尼克公司 Confidence intervals for key performance indicators in communication networks
CN103972884A (en) * 2014-04-24 2014-08-06 西南交通大学 Electric system state estimation method
CN104702680A (en) * 2015-02-13 2015-06-10 安科智慧城市技术(中国)有限公司 Resource monitoring method and system
CN105242873A (en) * 2014-06-27 2016-01-13 阿里巴巴集团控股有限公司 Method and apparatus for acquiring and storing performance data of cloud computing system
CN105491615A (en) * 2015-11-19 2016-04-13 杨明霞 Sensor self-adaptive sampling method based on time sequence
CN106227671A (en) * 2016-08-05 2016-12-14 网易(杭州)网络有限公司 Program analysis of running performance method and device
CN106326017A (en) * 2016-08-17 2017-01-11 广东亿迅科技有限公司 Realization system for call chain based on Annotation application
WO2017039892A1 (en) * 2015-09-01 2017-03-09 Intel Corporation Estimation of application performance variation without a priori knowledge of the application

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6970529B2 (en) * 2001-01-16 2005-11-29 International Business Machines Corporation Unified digital architecture
US8017411B2 (en) * 2002-12-18 2011-09-13 GlobalFoundries, Inc. Dynamic adaptive sampling rate for model prediction
US8553808B2 (en) * 2006-12-13 2013-10-08 Motorola Mobility Llc Method and apparatus for detecting the presence of a signal in a frequency band using non-uniform sampling
US8321733B2 (en) * 2007-04-16 2012-11-27 Finisar Corporation Optimization of SERDES sampling parameters

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102739755A (en) * 2011-11-07 2012-10-17 李宗诚 Computation technology foundation of intelligent integrated network computer
CN103188119A (en) * 2011-12-27 2013-07-03 特克特朗尼克公司 Confidence intervals for key performance indicators in communication networks
CN103972884A (en) * 2014-04-24 2014-08-06 西南交通大学 Electric system state estimation method
CN105242873A (en) * 2014-06-27 2016-01-13 阿里巴巴集团控股有限公司 Method and apparatus for acquiring and storing performance data of cloud computing system
CN104702680A (en) * 2015-02-13 2015-06-10 安科智慧城市技术(中国)有限公司 Resource monitoring method and system
WO2017039892A1 (en) * 2015-09-01 2017-03-09 Intel Corporation Estimation of application performance variation without a priori knowledge of the application
CN105491615A (en) * 2015-11-19 2016-04-13 杨明霞 Sensor self-adaptive sampling method based on time sequence
CN106227671A (en) * 2016-08-05 2016-12-14 网易(杭州)网络有限公司 Program analysis of running performance method and device
CN106326017A (en) * 2016-08-17 2017-01-11 广东亿迅科技有限公司 Realization system for call chain based on Annotation application

Also Published As

Publication number Publication date
CN107135128A (en) 2017-09-05

Similar Documents

Publication Publication Date Title
CN107135128B (en) Call chain data acquisition method, mobile terminal and computer-readable storage medium
CN108509299B (en) Message processing method, device and computer readable storage medium
CN108768775B (en) Information processing method, electronic device, and computer storage medium
CN109982402B (en) Terminal voice calling method, mobile terminal and computer readable storage medium
CN107862217B (en) Position information acquisition method, mobile terminal and computer storage medium
CN108600516B (en) Data acquisition method, mobile terminal and computer readable storage medium
CN110113779B (en) eSIM card testing method, system and medium
CN107135156A (en) Call chain collecting method, mobile terminal and computer-readable recording medium
CN109890022A (en) Data transfer control method, mobile terminal and computer readable storage medium
CN107818022B (en) Application program interface merging method, mobile terminal and computer readable storage medium
CN108011937A (en) Information push method, server, intelligent terminal and computer-readable recording medium
CN112492340B (en) Live broadcast audio acquisition method, mobile terminal and computer readable storage medium
CN112346824B (en) Screen projection application control method and device and computer readable storage medium
CN109618377A (en) Call processing method, terminal, network side apparatus and computer readable storage medium
CN108449736A (en) A kind of data transmission method, terminal and computer readable storage medium
CN107580357A (en) Limitation communication means, equipment and the computer-readable storage medium of a kind of black list user
CN109818967B (en) Notification method, server, mobile terminal and computer readable storage medium
CN109831241B (en) Rescue method, router and computer readable storage medium
CN108183833B (en) Response processing method and device and computer readable storage medium
CN107404568B (en) Control switch management method and mobile terminal
CN109587260A (en) A kind of resource acquiring method, device and system
CN110287381B (en) Page control node searching method, terminal and computer readable storage medium
CN112104983B (en) Electronic price tag roaming method, device and computer readable storage medium
CN110262707B (en) Application program operation recording method and device and computer readable storage medium
CN108304302B (en) Interface merging method, equipment and computer readable storage medium

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
GR01 Patent grant
GR01 Patent grant